pip install .[cohere]
or from the requirements.txt file.cohere_engine
) should be used as a value for the engine
parameter in the USING
clause of the CREATE MODEL
statement.
CREATE MODEL
statement is used to create, train, and deploy models within MindsDB.
Name | Description |
---|---|
task | It defines the task to be accomplished. |
column | It defines the column with the text to be acted upon. |
engine | It defines the Cohere engine. |
api_key | It is used to provide your Cohere API key to gain access to the model. |
language-detection
: detect the language of a given text.text-generation
: generate text based on a given prompt.text-summarization
: summarize a given text.