Introduction
RAG-Buddy API Endpoints reference and playground
RAG-Buddy API Reference and Playground
Welcome to the RAG-Buddy API Reference and Playground. This interactive tool is designed to help developers understand and test the RAG-Buddy API endpoints.
API Endpoints
The RAG-Buddy API provides the following endpoints:
-
Text Classification (
/tc/{version}
): This endpoint is used for the Text-Classification use case. Try it here: /tc playground. -
Rag Citation (
/ragc/{version}
): This endpoint is used for the RAG-Citation use case. Try it here: /ragc playground. -
Proxy (
/proxy/{cache_type}/{version}/{path}
): This endpoint is used to transparently read and write to cache and forward requests to the LLM API. Try it here: /proxy playground.
--compressed
flag to the curl command to fix this.Authentication
To authenticate, you need to include the helvia-rag-buddy-token
header in your request headers. This token is required for all API endpoints and can be generated in your project on the RAG-Buddy console.
Additionally, the playground requires an OpenAI API key. This key should be sent as a Bearer token in the Authorization
header. Here’s an example of how to include it in your requests:
Replace YOUR_OPENAI_API_KEY
with your actual OpenAI API key.
Need assistance?
Please contact the RAG-Buddy Support Team at ragbuddy@helvia.ai for any issues or further information.