Skip to main content

Process a document for RAG tuning

POST 

/ragtune

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.

Request

Body

required
    collection string
    url string

    URL of the document to process. Supported file types: PDF, DOC, DOCX, TXT, CSV, XLS, XLSX

    metatag string

    Optional metadata tag to associate with the document

Responses

Document processed and added to the specified collection

Schema
    message string
    result object
    property name* any
Loading...