Skip to content

llm-workflow-engine/lwe-plugin-provider-chat-xai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LLM Workflow Engine (LWE) Chat xAI Provider plugin

x AI Provider plugin for LLM Workflow Engine

Access to xAI chat models.

Installation

Export API key

Grab an xAI API key from https://console.x.ai

Export the key into your local environment:

export XAI_API_KEY=<API_KEY>

From packages

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

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

From source (recommended for development)

Install the latest version of this software directly from git:

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

Install the development package:

cd lwe-plugin-provider-chat-xai
pip install -e .

Configuration

Add the following to config.yaml in your profile:

plugins:
  enabled:
    - provider_chat_xai
    # Any other plugins you want enabled...

Usage

From a running LWE shell:

/provider chat_xai
/model model_name grok-3

About

LLM Workflow Engine (LWE) Chat xAI Provider plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages