Skip to main content

KnowledgeDocumentDirectoryRead

A directory that groups knowledge documents for an agent in the RAG store.

idIdrequired

RAG directory id.

product_id object

Main app product id that owns this knowledge directory.

anyOf
integer
agent_idAgent Idrequired

Agent id whose chatbot can retrieve knowledge from this directory.

nameNamerequired

Human-readable directory name used to group knowledge documents in RAG context.

descriptionDescription

Optional directory description that helps explain what this directory contains.

Default value:
created_atdate-timerequired

When this directory row was created in the RAG database.

document_countDocument Count

Number of knowledge documents currently stored in this directory.

Default value: 0
KnowledgeDocumentDirectoryRead
{
"id": 0,
"product_id": 0,
"agent_id": 0,
"name": "string",
"description": "",
"created_at": "2024-07-29T15:51:28.071Z",
"document_count": 0
}