feat: start on AI integration

This commit is contained in:
2026-04-24 13:56:42 +02:00
parent 15584c72f7
commit 78609377be
16 changed files with 2410 additions and 8 deletions

View File

@@ -0,0 +1,18 @@
defmodule BDS.AI.CatalogMeta do
@moduledoc false
use Ecto.Schema
import Ecto.Changeset
@primary_key {:key, :string, autogenerate: false}
schema "ai_catalog_meta" do
field :value, :string
end
def changeset(meta, attrs) do
meta
|> cast(attrs, [:key, :value], empty_values: [nil])
|> validate_required([:key, :value])
end
end