Table
knowledge_chunks
The retrieval unit. Re-chunking a source replaces its rows wholesale.
id
bigserial
PK
source_id
varchar
seq
int
Chunk order within the source.
content
text
embedding
"vector(1024)"
pgvector; cosine index below.
source_id, seq
embedding
idx_chunks_embedding