
Cohere-AI Plugin for Steampipe
Use SQL to generate, classify, summarize text and more from CohereAI.
Quick start
Install the plugin with Steampipe:
steampipe plugin install Mr-Destructive/cohereai
Configure your API key in ~/.steampipe/config/cohereai.spc:
connection "cohereai" {
plugin = "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 = '';
Developing
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:
Contributing
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: