Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://api.gbase.ai/v1/rag_retrieve/{ai_id} \ --header 'Content-Type: application/json' \ --data ' { "query": "<string>", "top_k": 8, "include_citation": true } '
{}
RAG检索接口,根据查询文本检索相关文档片段
Args: ai_id: 机器人ID request: 包含查询参数的请求体
Returns: Dict[str, Any]: 包含检索结果的响应
Successful Response
The response is of type Response Rag Retrieve V1 Rag Retrieve Ai Id Post · object.
Response Rag Retrieve V1 Rag Retrieve Ai Id Post · object