Replies: 1 comment 1 reply
-
|
Hey @scalenow the above query is a template, so copy/paste will not work. You will need to setup the parameters related to your use case |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Folks ,trying to run this command and getting the error..This should be a standard execution as straight lift from website. Any thoughts.Thanks in advance ..................................................................... CREATE MODEL openai_model
PREDICT target_column
USING
engine = 'openai_engine', -- engine name as created via CREATE ML_ENGINE
mode = 'mode_name', -- optional, ...
model_name = 'openai_model_name', -- optional with default value of gpt-3.5-turbo
question_column = 'question', -- optional, column name that stores user input
context_column = 'context', -- optional, column that stores context of the user input
prompt_template = 'input your query here', -- optional, user provides instructions to the model here
max_tokens = 100, -- optional, token limit for answer
temperature = 0.3, -- temp. Error SQL statement cannot be parsed by mindsdb_sql - CREATE MODEL openai_model
PREDICT target_column
USING
engine = 'openai_engine', -- engine name as created via CREATE ML_ENGINE
mode = 'mode_name', -- optional, ...
model_name = 'openai_model_name', -- optional with default value of gpt-3.5-turbo
question_column = 'question', -- optional, column name that stores user input
context_column = 'context', -- optional, column that stores context of the user input
prompt_template = 'input your query here', -- optional, user provides instructions to the model here
max_tokens = 100, -- optional, token limit for answer
temperature = 0.3, -- temp: Syntax error, unexpected end of query:
--------------------------------------------------------------^
Expected symbol: "[identifier]" (edited)
Beta Was this translation helpful? Give feedback.
All reactions