Skip to content

rag_request

zocrates.schemas.rag_request

BatchIndexRequest

Bases: BaseModel

Request body for POST /batch-index.

EmbeddingModelChangeRequest

Bases: BaseModel

Request body for POST /rag/model.

EmbeddingTestRequest

Bases: BaseModel

Request body for POST /llm/test_embedding.

RAGResetRequest

Bases: BaseModel

Request body for POST /rag/reset.

Attributes:

Name Type Description
target str

"active" (default) to reset the active collection, "all" to wipe every collection and the FTS database, or a specific collection name string.