https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-google-genai
LLM Workflow Engine (LWE) Chat Google GenAI Provider plugin
https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-google-genai
Last synced: 2 months ago
JSON representation
LLM Workflow Engine (LWE) Chat Google GenAI Provider plugin
- Host: GitHub
- URL: https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-google-genai
- Owner: llm-workflow-engine
- Created: 2023-12-19T22:29:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-12T00:21:30.000Z (5 months ago)
- Last Synced: 2024-12-31T22:41:49.958Z (4 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LLM Workflow Engine (LWE) Chat Google GenAI Provider plugin
Chat Google GenAI Provider plugin for [LLM Workflow Engine](https://github.com/llm-workflow-engine/llm-workflow-engine)
Access to [Google AI chat models](https://ai.google.dev/models).
## Installation
### Export API key
Grab an Google API key from [https://makersuite.google.com/u/1/app/apikey](https://makersuite.google.com/u/1/app/apikey)
Export the key into your local environment:
```bash
export GOOGLE_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-google-genai
```### 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-google-genai.git
```Install the development package:
```bash
cd lwe-plugin-provider-chat-google-genai
pip install -e .
```## Configuration
Add the following to `config.yaml` in your profile:
```yaml
plugins:
enabled:
- provider_chat_google_genai
# Any other plugins you want enabled...
```## Usage
From a running LWE shell:
```
/provider chat_google_genai
/model model_name gemini-pro
```