Ragtune
Process a document for RAG tuning
Processes a document by extracting its content and generating embeddings to be used for RAG tuning. Supported file types: PDF, DOC, DOCX, TXT, CSV, XLS, XLSX.
post/ragtune
Request
- Base URL: https://apipie.ai
- URL: https://apipie.ai/ragtune
- Auth: API key in header Authorization
Request body
Example request
{
"collection_name": "my-ragtune-collection",
"url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
"metatag": "important-document"
}Response
Document processed and added to the specified collection
Example response
{
"message": "Document added to rag_tuning named: my-ragtune-collection"
}Changes
No recorded changes to this operation across all 1 revision of this API.