Use SQL to generate, classify, summarize text and more from CohereAI.
- Get started →
- Documentation: Table definitions & examples
- Community: Slack Channel
- Get involved: Issues
Install the plugin with Steampipe:
steampipe plugin install mr-destructive/cohereai
Configure your API key in ~/.steampipe/config/cohereai.spc
:
connection "cohereai" {
plugin = "mr-destructive/cohereai"
# API key for requests. Required.
# Get your API key at https://dashboard.cohere.ai/api-keys
# This can also be set via the `COHEREAI_API_KEY` environment variable.
api_key = "asLGEMKWMfkeFKENW038493fnWeng"
}
Or through environment variables:
export COHEREAI_API_KEY=asLGEMKWMfkeFKENW038493fnWeng
Run steampipe:
steampipe query
Run a query:
select
generation
from
cohereai_generation
where
prompt = '';
Prerequisites:
Clone:
git clone https://github.com/mr-destructive/steampipe-plugin-cohereai.git
cd steampipe-plugin-cohereai
Build, which automatically installs the new version to your ~/.steampipe/plugins
directory:
make
Configure the plugin:
cp config/* ~/.steampipe/config
vi ~/.steampipe/config/cohereai.spc
Try it!
steampipe query
> .inspect cohereai
Further reading:
Please see the contribution guidelines and our code of conduct. All contributions are subject to the Apache 2.0 open source license.
help wanted
issues: