AkurAI Build
Menu

Public repository / 3a1d4dc0df9425a910df82402300a2aeb40318ae

AkurAI-Framework / crates/cli/assets/collections.toml

Latest change 3ad787ae157fc60f711c536c1811b3b199b0ac1a - init: AkurAI-Framework foundation (history reset after FS corruption) by Ólafur Búi Ólafsson

# Declarative data model — the single source of truth.
# The auto-API, validation, migrations, and semantic-search embeddings all
# derive from this file. Add a collection and its REST routes appear at
# /api/collections/<name>/records with no handwritten endpoint code.
#
# (The database engine is not wired into `serve` yet — this is the schema your
# project will grow into. See the roadmap in AGENTS.md.)

# [[collection]]
# name = "posts"
#
#   [[collection.field]]
#   name = "title"
#   type = "text"
#   required = true
#
#   [[collection.field]]
#   name = "body"
#   type = "text"
#   embed = true          # auto-embedded for semantic search (?search=...)