This API allows users to perform Matilda RAG searches and extract specific text results from the search page. It is designed to fetch search results based on a query provided by the user.
https://team.matilda.vn/team/public/rag.php
GET
Parameter | Type | Description |
---|---|---|
query | string | The search term to query Matilda. |
GET https://team.matilda.vn/team/public/rag.php?query=your_search_term
The response will be a plain text output of the extracted results from Matilda RAG search. Each text result is separated by a newline.
Result 1 text
Result 2 text
Result 3 text
In case of an error, the API will return an HTTP status code along with an error message.
HTTP/1.1 400 Bad Request
Error: Invalid query parameter