FOR MORE INFO GO TO SECIFI OPEN AI CONSULTANTS
https://platform.openai.com if you dont have a free AI Api Key go there register and link to your phone number then go to generate Key
https://platform.openai.com/account/api-keys after creation you MUST copy and Save that key you wont see it again
Free keys may be disabled soon . Pro ChatgPT 4 is going for 20usd per month . AI is critical and its being deployed for Finance Apps already and M&A . Regards
Once you add the OpenAI API key, it should already start working for generic questions. Open a new browser window in Incognito mode and test by asking “What is the capital of Russia?”
Please make sure DialogFlow is Disabled if you want OpenAI to work
The OpenAI API uses API keys for authentication. Visit your API Keys page to retrieve the API key you’ll use in your requests.Remember that your API key is a secret! Do not share it with others or expose it in any client-side code (browsers, apps). Production requests must be routed through your own backend server where your API key can be securely loaded from an environment variable or key management service.

To train OpenAI
a. To train or fine tune a model, 1st you need to:
Gather the necessary data you want to train with
Format the data correctly according to OpenAI API requirements (Download sample data format to see how it works). A dataset should have a at least 500 rows to offer useful results. According to the OpenAI documentation, numbers of 3,000 and 5,000 rows are recommended.
Upload the data to OpenAI in .JSONL format
Train an existing OpenAI model(select from the Bot OpenAI settings page) with your data
b. Once you have your JSONL file ready, please go to the Training model section. Upload your training file in .JSONL format.
c. Once you upload your training file, it will return a file id and the training will start once you click the Create FT Model button. Set a suffix (to recognize the model yourself later) and base model in the popup and create.
d. Once the training is done and the file is ready, it will return the fine tuned model. It will be listed under the Fine Tuned Models List, the status will be shown as “Succeeded” and you will also get a FT(Fine Tuned) Model ID (to copy to the settings page).
e. You can create multiple Fine Tuned models following the above procedure. Copy the Fine Tuned model ID you want to use.
f. Go to the main Bot OpenAI settings page and paste the Fine Tuned model ID to the Custom Fine Tuned Model field and save. Now the bot will start responding according to the Training data.
Example:
{“prompt”: “puppy A is happy”, “completion”: “emotional state of puppy A”}
{“prompt”: “puppy B is sad”, “completion”: “emotional state of puppy B”}
Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model’s likelihood to talk about new topics.
Penalties
Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model’s likelihood to repeat the same line verbatim.
One of the most important settings is called temperature.When the temperature is above 0, submitting the same prompt results in different completions each time.Remember that the model predicts which text is most likely to follow the text preceding it. Temperature is a value between 0 and 1 that essentially lets you control how confident the model should be when making these predictions. Lowering temperature means it will take fewer risks, and completions will be more accurate and deterministic. Increasing temperature will result in more diverse completions.
Please check your settings( i.e: Api keys, Max token etc.). Depending on the model (GPT3 was maximum 4000 other is 1,951 ) used, requests can use up to 4097 tokens shared between prompt and completion. If your prompt is 4000 tokens, your completion can be 97 tokens at most. Also check the dialogflow is inactive. Dialogflow and OpenAI does not work together.
You can create multiple Fine Tuned models based on your post types and pages. You can download your training data as a JSONL file to modify and then upload it in the same process as other file (see above for instructions). Also, you can upload it by clicking the `Upload As FT Model` button. Then you can create a Fine Tuned model from the Training Model tab.