https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-anthropic
LLM Workflow Engine (LWE) Chat Anthropic Provider plugin
https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-anthropic
Last synced: 2 months ago
JSON representation
LLM Workflow Engine (LWE) Chat Anthropic Provider plugin
- Host: GitHub
- URL: https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-anthropic
- Owner: llm-workflow-engine
- Created: 2023-09-21T02:41:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-14T06:35:11.000Z (6 months ago)
- Last Synced: 2024-12-31T22:41:49.981Z (4 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LLM Workflow Engine (LWE) Chat Anthropic Provider plugin
Chat Anthropic Provider plugin for [LLM Workflow Engine](https://github.com/llm-workflow-engine/llm-workflow-engine)
Access to [Anthropic](https://docs.anthropic.com/claude/reference/selecting-a-model) chat models.
## Installation
### Export API key
Grab a Anthropic API key from [https://console.anthropic.com/account/keys](https://console.anthropic.com/account/keys)
Export the key into your local environment:
```bash
export ANTHROPIC_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-anthropic
```### 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-anthropic.git
```Install the development package:
```bash
cd lwe-plugin-provider-chat-anthropic
pip install -e .
```## Configuration
Add the following to `config.yaml` in your profile:
```yaml
plugins:
enabled:
- provider_chat_anthropic
# Any other plugins you want enabled...
```## Usage
From a running LWE shell:
```
/provider chat_anthropic
/model model claude-instant-1
```