Large Language Models
Anthropic
This documentation describes the integration of MindsDB with Anthropic, an AI research company. The integration allows for the deployment of Anthropic models within MindsDB, providing the models with access to data from various data sources.
Prerequisites
Before proceeding, ensure the following prerequisites are met:
- Install MindsDB locally via Docker or use MindsDB Cloud.
- To use Anthropic within MindsDB, install the required dependencies following this instruction.
- Obtain the Anthropic API key required to deploy and use Anthropic models within MindsDB. Follow the instructions for obtaining the API key.
Setup
Create an AI engine from the Anthropic handler.
Create a model using anthropic_engine
as an engine.
Usage
The following usage examples utilize anthropic_engine
to create a model with the CREATE MODEL
statement.
Create and deploy the Anthropic model within MindsDB to ask any question.
Query the model to get predictions.
Here is the output:
Next Steps
Go to the Use Cases section to see more examples.