Integrate the power of language models with your company’s data to deliver accurate and contextualized answers.
Access internal knowledge sources easily — such as documents, databases, or company archives — and get more complete, reliable, and informative answers thanks to the RAG system and the LLM model.
CHAT AI costs start at €0.001 and vary depending on the selected model, the number of tokens used and any conversation summarisation operations.
Using the maxCredit parameter, you can set a maximum spending budget in euros for each request. You can also optimise token consumption by enabling automatic conversation summarisation and configuring the corresponding token threshold.
The API response includes a detailed breakdown of token usage and the actual costs of the request.
CHAT AI provides access to GPT by OpenAI, Claude by Anthropic and Gemini by Google through a single API. Thanks to the session ID, you can switch models during the same conversation while retaining the context of previous messages. Future integrations of Grok, DeepSeek and Mistral are also planned.
Sessions and their associated messages are automatically deleted one hour after the last response. You can manually delete a session at any time, even while a response is being generated, using the DELETE /chat/{session} endpoint.
By default, CHAT AI returns streaming responses via Server-Sent Events (SSE), allowing you to receive content progressively as it is generated.
By setting the stream parameter to false, you can disable streaming and receive the complete response in JSON format once processing is finished.
You can also choose between HTML and Markdown as the format for generated content, depending on your application's needs.
The system supports the most common file formats:
- PNG (.png)
- PDF (.pdf)
- Plain text (.txt)
- Word documents (.doc/.docx)
- Excel spreadsheets (.xls/.xlsx)
- PowerPoint presentations (.ppt/.pptx)
Yes, you can upload documents containing text embedded in images (such as scanned PDFs or screenshots). However, it is essential to enable the OCR option (set to true) when configuring the RAG.
This allows the system to automatically extract and reconstruct text from images, making it available for indexing and searching.
Note: Without OCR enabled, the system cannot process image-based text, and such documents will not be usable for RAG search functionalities.
When uploading a document to RAG storage, you may optionally include the following metadata:
- A custom string value (customKeyStr)
- A date in ISO 8601 format (customKeyDate)
- A custom integer value (customKeyInt)
- Geographic coordinates (customKeyGeoLatitude and customKeyGeoLongitude)
- A custom boolean value (customKeyBool)
All metadata fields are optional.
Each user can currently create up to 10 free RAGs.
To keep a RAG active, you must upload documents to it; otherwise, empty RAGs will be automatically deleted after 10 days of inactivity.
If you need to increase this limit, feel free to contact us.
To make documents searchable within a RAG, set the autoIndexingIntervalHours option when creating the RAG (e.g., set it to 24 to reindex once per day), or use the PATCH /rag/{id} endpoint to trigger manual reindexing.
Without indexing, RAG Search ignores recent updates and only returns results based on previously indexed data.
If a document is not indexed, its updated content will not be available for searches. In practice, until reindexing is triggered, RAG Search will continue to respond using only previously indexed data, ignoring any recent changes or additions.
Yes. You can request up to 10 results per query.
No, the number of results requested does not affect the cost.
Yes. There is a monthly maintenance cost for each document stored in the RAG.
No maintenance fees apply to the RAG itself.
Search responses are returned within a few seconds.
Indexing typically takes around 10 minutes on average and is not affected by document size or number of pages.
Document upload (POST /rag/{id}/documents)
- Cost is calculated based on file size: €0.0065/MB
- If OCR is used, an additional €0.00190 per page applies
RAG search services
- RAG Search: from €0.0034 (subscription) and €0.0059 (single request)
- RAG Search with Answer: from €0.0105 (subscription) and €0.0135 (single request)
- RAG Conversation: from €0.0105 (subscription) and €0.0135 (single request)