askOpenAi
This function gives the possibility to address the AI of OpenAi via API. Questions can be asked or tasks can be described. This function is also used to explain or optimize the code in the App Editor.
Function Signature
The function requires an object as a parameter. Only the command field must be filled, the remaining properties are optional and will be filled with default values if required.
Information about the model and task parameters can be found in the official documentation of openAI: Doku - openAI
Examples
Return Values
Function does return the answer to your prompt.
Last updated
Was this helpful?