Saltar al contenido

app.search_embeddings

TablaSeguridad a nivel de fila activa

Semantic search index (Section 5, A87): one embedding per published document, SOP and handbook article of an org with search.semantic_enabled on, written by the embedding worker with the service role and replaced when the text changes. Readable only by people who can read the source.

Clave primaria: id

Columnas de app.search_embeddings
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.Hace referencia a app.organizations.id
source_tabletextNoTable of the source: documents, sops or handbook_articles.
source_iduuidNoSource row.
content_sha256textNoSHA-256 of the text that was embedded, lowercase hex; a different hash means the source changed.
providertextNoEmbedding provider, for example local-hash in tests.
modeltextNoProvider model that made the vector; vectors of another model are never compared.
embeddingvector(384)NoThe vector, 384 dimensions, compared by cosine distance.
embedded_attimestamp with time zoneNoWhen the vector was made.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.