https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-mistralai
LLM Workflow Engine (LWE) Chat MistralAI Provider plugin
https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-mistralai
Last synced: 9 months ago
JSON representation
LLM Workflow Engine (LWE) Chat MistralAI Provider plugin
- Host: GitHub
- URL: https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-mistralai
- Owner: llm-workflow-engine
- Created: 2023-12-15T22:40:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-14T17:30:13.000Z (over 1 year ago)
- Last Synced: 2025-10-03T21:56:08.282Z (9 months ago)
- Language: Python
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LLM Workflow Engine (LWE) Chat MistralAI Provider plugin
Chat MistralAI Provider plugin for [LLM Workflow Engine](https://github.com/llm-workflow-engine/llm-workflow-engine)
Access to [MistralAI](https://docs.mistral.ai) chat models.
## Installation
### Export API key
Grab a MistralAI API key from [https://console.mistral.ai/users/api-keys](https://console.mistral.ai/users/api-keys)
Export the key into your local environment:
```bash
export MISTRAL_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-mistralai
```
### 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-mistralai.git
```
Install the development package:
```bash
cd lwe-plugin-provider-chat-mistralai
pip install -e .
```
## Configuration
Add the following to `config.yaml` in your profile:
```yaml
plugins:
enabled:
- provider_chat_mistralai
# Any other plugins you want enabled...
```
## Usage
From a running LWE shell:
```
/provider chat_mistralai
/model model mistral-small
```