Skip to main content

I'm interested in generating SQL automatically, for use in SQLExecutor

I received an answer off line, the answer is yes, but I'm getting some laughs round the office with some responses:

2023-02-10_11-48-48


I received an answer off line, the answer is yes, but I'm getting some laughs round the office with some responses:

2023-02-10_11-48-48

It's a Monday BTW


Hi @bruceharold​ ,

 

My understanding of the Codex model is that it is currently in limited release (beta). Personally, I haven't tried this but as long as you know the model name, you can specify any model to use in the OpenAICompletionsConnector transformer by typing it in the Model parameter.

imageThe default list of models was generated a few weeks ago but the parameter type is "choice or text" which enables users to enter their own model name in should the list fall out of sync. imageUsing the OpenAI Playground, it looks like the codex model names are code-davinci-002 and code-cushman-001 (both of which are in the default list, in addition to a few more).

 

One last thing to note, you can obtain model names using the Models endpoint with the HTTPCaller (this is how the choice or text parameter was originally populated).


Reply