Description
We have iQ integrated in UI- that accepts natural language(NL) and returns SQL++.
But if we want a functionality similar to iQ in an application, query endpoint should be able to accept NL prompts.
Additional info needed would be: capella login credentials,organization id- to generate a valid JWT token. This will help with sending the NL question to openAI which will in turn return a sql++ query.
One way to do that would be using the same query endpoint but with query request parameters - to indicate this is a NL query
2nd would be to create a totally new endpoint - that accepts NL question and then eventually calls the query endpoint with sql++ query