Integrate the RAG Chatbot with Your Apps
We offer support for RAG chatbot integration via both API calls and iFrame embedding.
1. API Integration
You can see the cURL
code for your chatbot under the "Integration / cURL" tab. The chatbot API is compatible with the OpenAI chat completions API.
Note that if you include max_tokens
and temperature
in the API call, the values specified will overwrite those set through the "Settings" tab. If you don't include these parameters, our backend will use the values specified in the "Settings" tab.
The API call also requires the access token which is included in the cURL
code snippet (masked by the blue color in the screenshot below). If you want to change the access token, simply go to the settings page and refresh it.
2. iFrame Integration
We also support iFrame integration which allows you to add the chatbot to your web app with just one line of code. Just navigate to the "Integration / iFrame" tab to copy the iFrame code.
Updated about 2 months ago