Thanks for developing the great feature of integrating Open AI's generative AI. Currently it seems that it could only work with GPT 3.5 Turbo. May I know where or how we could change the model so that we could use other models?
Thank you,
Thanks for developing the great feature of integrating Open AI's generative AI. Currently it seems that it could only work with GPT 3.5 Turbo. May I know where or how we could change the model so that we could use other models?
Thank you,
Hi there,
Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. Right now, we didn't add this functionality. We will try to add this function as soon as possible.
Best regards,
Toufiqur Rahman (Team Lead, Support)
Thank you Toufiq.
While there is no setup for us to change it now, is there a way to modify the code directly, so that when we call API, we could change to other models?
Thank you.
We will add option to change AI model from backend.
Thank you and if it will happen soon, then we will wait for it. I think it should be an easy implementation as we just need to change one parameter and it should not affect your product at all.
If it could take some time to happen, do you mind to share which file the model is stored in, so that we don't have to search for it?
Thanks a lot!
It has design dependencies, I hope it will be added soon.
Check those files from component package:
inside the last file there are lines 95-97:
// Set your OpenAI API key here
$apiKey = $cParams->get('openai_api_key', '');
$model = "gpt-3.5-turbo";