Integrating OpenAI
OpenAI is your perfect companion to help you maximize your efficiency and effectiveness in creating your chatbot content. With Clepher, you simply add your OpenAI API details inside the Integration Manager on Page Level. Then you will have access to Clepher Chat to make your chatbot making much easier.
OpenAI Configuration
1. Mode
This can be set either to chat mode or text completion mode.
2. Model
The model which will generate the completion. Some models are suitable for natural language tasks, while others specialize in code.
3. System
This is the input text which defines the system like the tone or manner of the responses.
4. Temperature
This is optional. It controls the randomness - lowering results in fewer random completions while it becomes deterministic and repetitive as it approaches zero.
5. Maximum Length
This determines the maximum number of tokens to generate. Requests can use up to 2,048 or 4,000 tokens shared between prompt and completion. The exact limit varies by model. A token is roughly equivalent to 4 characters for normal English text.
6. Top P
This controls the diversity via nucleus sampling. 0.5 means half of all likelihood-weighted options are considered.
7. Frequency Penalty
This determines how much to penalize new tokens based on their existing frequency in the text so far. It decreases the model's likelihood to repeat the same line verbatim.
8. Presence Penalty
This determines how much to penalize new tokens based on whether they appear in the text so far. It increases the model's likelihood to talk about new topics.
How to Get Started with OpenAI
The connection form will ask you for your API Key which can be found in the settings section of OpenAI.
Finish the connection process by specifying a meaningful name for your integration.
You integrated OpenAI, now what?
We’ve got an elaborate explanation of how to use integrations inside Clepher. You can find this article filed in the Automation Section.
You should now see the Clepher Chat icon on the bottom-right part of the screen and it will be ready to assist you anywhere you may need help in creating your chatbot.
Related article:
Related content
Copyright © • Clepher • All rights reserved.