Hi I'm new to outsystems and am currently trying to use this chatgpt assistant v2 framework, but i keep stumbling across this error message when I try to call ProcessFileWithAssistant, even in the Demo. I'm assuming it is related to an api key (or lack thereof?), but I cannot find any point in the asset where there are any api calls or headers where i can specify the api key?
Any insight or help would be much appreciated. Thank you.
@Clara Aw Looks like you have not set up secret key, Please check the documentation part of the component.
Start from https://platform.openai.com/docs/overview then check the API documentation https://platform.openai.com/docs/api-reference/authentication . You need to configure the API key (SITE variable on the module), and on the DEMO module the ASSISTANT_ID (SITE variable).
Thanks,
Preeti
Thanks for the reply, I set up the api key as you pointed out and the error is gone.
Now when i call ProcessFileWithAssistant on my application, I get this error message instead. As the method RunAssistant is in the main module, I am unable to access the 'response_format' as shown in the error message. Have you ever encountered this error before?
Hi,
Please check their documentation
https://www.outsystems.com/forge/component-documentation/18748/chatgpt-assistant-v2-framework-o11/0
You need to configure the API key (SITE variable on the module)