आरएजी क्वेरी और दस्तावेज़ अंतर्ग्रहण
POST/v1/ai/{project_id}/rag
Ingest large documents (up to 5 MB) and query context-grounded LLM responses.
इस अनुवाद के बाद से अंग्रेजी स्रोत बदल गया है। कुछ जानकारी पुरानी हो सकती है.
यह पृष्ठ स्वचालित रूप से अनुवादित किया गया था. अंग्रेजी संस्करण प्रामाणिक है.
Ingestion parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
content | string | yes | Document content (up to 5 MB payload size). The service splits it into chunks itself: the chunk size is not a request parameter. |
namespace | string | yes | Target partition namespace. |
metadata | object | no | Arbitrary 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.