wandbot  by wandb

Support bot for Weights & Biases' AI tools, running in Discord, Slack, ChatGPT, and Zendesk

created 2 years ago
302 stars

Top 89.3% on sourcepulse

GitHubView on GitHub
Project Summary

WandBot is a technical support assistant for Weights & Biases' AI developer tools, designed to answer questions about their documentation and code. It targets developers using W&B products, offering an efficient way to get support directly within platforms like Discord, Slack, or via an API.

How It Works

WandBot employs a modular Retrieval Augmented Generation (RAG) pipeline. It uses Gemini Flash-2.0 for query expansion and GPT-4o for response synthesis, with Cohere's rerank-v3.5 for re-ranking. Key components include a hosted ChromaDB vector store, parent document retrieval, and sub-query answering for complex questions. This architecture prioritizes efficiency and contextuality, leveraging parallel LLM calls and metadata filtering for improved performance.

Quick Start & Requirements

  • Install: Run bash build.sh to build and install dependencies.
  • Prerequisites: Requires Python 3.12, OpenAI API Key, Cohere API Key, W&B API Key, and potentially Slack/Discord tokens.
  • Setup: Set environment variables as detailed in the README. Run bash run.sh to start the API and bots.
  • Docs: run.sh, Evaluation Config

Highlighted Details

  • Achieved 91.2% response correctness in English evaluations with v1.3.0 and v1.3.1.
  • Supports both English and Japanese documentation.
  • Integrates with Discord and Slack for seamless support.
  • Utilizes Weights & Biases Weave for performance monitoring and evaluation.

Maintenance & Community

  • Active development with frequent updates (v1.3.1 released recently).
  • Uses uv for dependency management and dotenv for environment loading.
  • Evaluation pipeline includes robust error handling and retries.

Licensing & Compatibility

  • No explicit license mentioned in the README.
  • Requires API keys from OpenAI, Cohere, and Weights & Biases, which may have their own usage terms.

Limitations & Caveats

  • The README does not specify a license, which could impact commercial use.
  • Setup requires multiple API keys and specific environment variable configurations.
  • Some features like web search are currently disabled.
Health Check
Last commit

3 days ago

Responsiveness

1+ week

Pull Requests (30d)
2
Issues (30d)
2
Star History
9 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems).

super-rag by superagent-ai

0.3%
380
RAG pipeline for AI apps
created 1 year ago
updated 1 year ago
Feedback? Help us improve.