https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-vertexai
LLM Workflow Engine (LWE) Chat Vertex AI Provider plugin
https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-vertexai
Last synced: 2 months ago
JSON representation
LLM Workflow Engine (LWE) Chat Vertex AI Provider plugin
- Host: GitHub
- URL: https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-vertexai
- Owner: llm-workflow-engine
- Created: 2023-07-25T23:31:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-25T19:36:38.000Z (7 months ago)
- Last Synced: 2024-12-31T22:41:49.701Z (4 months ago)
- Language: Python
- Size: 10.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LLM Workflow Engine (LWE) Chat Vertex AI Provider plugin
Chat Vertex AI Provider plugin for [LLM Workflow Engine](https://github.com/llm-workflow-engine/llm-workflow-engine)
Access to [Google Vertex AI](https://cloud.google.com/vertex-ai/docs/generative-ai/learn/models) chat models.
## Installation
You must configure access to the Vertex AI API in Google Cloud by either:
* Having credentials configured for your environment (gcloud, workload identity, etc...)
* Storing the path to a service account JSON file as the `GOOGLE_APPLICATION_CREDENTIALS` environment variable### 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-vertexai
```### 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-vertexai.git
```Install the development package:
```bash
cd lwe-plugin-provider-chat-vertexai
pip install -e .
```## Configuration
Add the following to `config.yaml` in your profile:
```yaml
plugins:
enabled:
- provider_chat_vertexai
# Any other plugins you want enabled...
```## Usage
From a running LWE shell:
```
/provider chat_vertexai
/model model_name chat-bison
```