Skip to content

J2-D2-3PO/docs-agent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agent for the Weights & Biases Documentation

A simple chatbot agent that answers questions about Weights & Biases using the OpenAI Agents SDK. The agent can be powered by either OpenAI models or Google Gemini models.

Setup

  1. Install uv (Python package manager)

If you don't have uv installed, install it with:

curl -Ls https://astral.sh/uv/install.sh | sh
  1. Install dependencies with uv
uv sync
  1. Install the package in editable mode
uv pip install -e .
  1. Create a .env file based on the .env.example template and add your API keys
cp .env.example .env
# Edit the .env file with your actual API keys
  1. Run the bot using uv
uv run python -m wandb_docs_agent.main
  1. Or Run the bot server uv
uv run python -m wandb_docs_agent.main --server

Required Environment Variables (.env)

Create a .env file in the project root with the following variables (see below for which are required for your use case):

# OpenAI
OPENAI_API_KEY=your_openai_api_key

# Weights & Biases
WANDB_ENTITY=your_wandb_entity
WANDB_PROJECT=your_wandb_project
  • Only the variables relevant to your provider(s) are strictly required.
  • Do not commit your .env file to version control!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%