An open API service indexing awesome lists of open source software.

https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-cohere

LLM Workflow Engine (LWE) Chat Cohere Provider plugin
https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-cohere

Last synced: 3 months ago
JSON representation

LLM Workflow Engine (LWE) Chat Cohere Provider plugin

Awesome Lists containing this project

README

          

# LLM Workflow Engine (LWE) Chat Cohere Provider plugin

Chat Cohere Provider plugin for [LLM Workflow Engine](https://github.com/llm-workflow-engine/llm-workflow-engine)

Access to [Cohere](https://docs.cohere.com/reference/chat) chat models.

## Installation

### Export API key

Grab an Cohere API key from [https://dashboard.cohere.ai/api-keys](https://dashboard.cohere.ai/api-keys)

Export the key into your local environment:

```bash
export COHERE_API_KEY=
```

### From packages

Install the latest version of this software directly from github with pip:

```bash
pip install git+https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-cohere
```

### From source (recommended for development)

Install the latest version of this software directly from git:

```bash
git clone https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-cohere.git
```

Install the development package:

```bash
cd lwe-plugin-provider-chat-cohere
pip install -e .
```

## Configuration

Add the following to `config.yaml` in your profile:

```yaml
plugins:
enabled:
- provider_chat_cohere
# Any other plugins you want enabled...
```

## Usage

From a running LWE shell:

```
/provider cohere
/model model command
```