cURL
curl --request POST \ --url https://api.ragbuddy.ai/ragc/{version} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'helvia-rag-buddy-token: <helvia-rag-buddy-token>' \ --data ' { "remote_llm_url": "<string>", "user_message": "<string>", "system_intro": "<string>", "articles": [ { "ID": "<string>", "content": "<string>" } ], "system_instructions": "<string>" } '
{ "id": "<string>", "choices": [ { "finish_reason": "stop", "index": 123, "message": { "content": "<string>", "role": "<unknown>", "function_call": { "arguments": "<string>", "name": "<string>" }, "tool_calls": [ { "id": "<string>", "function": { "arguments": "<string>", "name": "<string>" }, "type": "<unknown>" } ] } } ], "created": 123, "model": "<string>", "object": "<unknown>", "system_fingerprint": "<string>", "usage": { "completion_tokens": 123, "prompt_tokens": 123, "total_tokens": 123 } }
RAG-Buddy API endpoint for the RAG-Citation use case.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Version of the API to use
"v1"
Show child attributes
Successful Response
stop
length
tool_calls
content_filter
function_call