OpenAI can be used in an integrated way on the Xpoda Platform.
It will be sufficient to register the OpenAI API Key from the client admin panel.
For example, in the form below, there is a text box where I can write a question to ChatGPT, a button to send the question and a text box where I can see the answer.
Add the When clicked > Update Value action to the button and select Answer (the field of the response to return from chatgpt) from the Value Area field. The Chat GPT option must be selected from the drop-down box in the SQL Query field.
In the query field, write the following query. ( The textbox field name of the question to be asked to Chatgpt )
SELECT '$PQuestion$'
You can ask questions in any language and see ChatGPT's answer.
There is also an AI Query button in the form tools in Xpoda Studio. You can create AI assisted queries in Xpoda.
In the left menu are the forms you have created. The fields in the forms you selected are transferred to the query screen.
For example, write "Create the query for the last 3 records in the CUSTOMER table by date" and click the Generate button.
You can transfer the query created with Xpoda AI to the query field in the form tool with the Accept button.