Aller au contenu
Logo Aurabase
aurabase

Requête RAG et ingestion de documents

POST/v1/ai/{project_id}/rag

Ingest large documents (up to 5 MB) and query context-grounded LLM responses.

La source anglaise a changé depuis cette traduction. Certaines informations peuvent être en retard.
Cette page a été traduite automatiquement. La version anglaise fait foi.

Ingestion parameters#

ParameterTypeRequiredDescription
contentstringyesDocument content (up to 5 MB payload size). The service splits it into chunks itself: the chunk size is not a request parameter.
namespacestringyesTarget partition namespace.
metadataobjectnoArbitrary JSON metadata attached to each chunk.

Namespace lifecycle operations#

  • GET /v1/ai/{project_id}/rag/namespaces: Lists all active RAG namespaces.
  • DELETE /v1/ai/{project_id}/rag/{namespace}: Deletes all chunks and vector entries in the namespace.
  • POST /v1/ai/{project_id}/rag/{namespace}/reindex: Recomputes embeddings for all chunks in the namespace when switching embedding models.
Dernière mise à jour · @aurabase/aurabase-js@0.7.5 · aura@0.3.4↗ Signaler un problème