weave  by wandb

Toolkit for developing Generative AI applications

Created 2 years ago
1,055 stars

Top 35.5% on SourcePulse

GitHubView on GitHub
Project Summary

Weave is a Python toolkit designed for developing and evaluating Generative AI applications, targeting AI engineers and researchers. It aims to bring rigor and best practices to the LLM workflow by providing tools for logging, debugging, and rigorous evaluation of language model inputs, outputs, and traces.

How It Works

Weave operates by instrumenting Python functions with @weave.op() decorators. This allows it to capture and trace function calls, including their inputs, outputs, and execution flow, creating a trace tree. This approach facilitates detailed debugging and comparison of different model runs or configurations without altering the core logic of the application.

Quick Start & Requirements

Highlighted Details

  • Enables tracing of various AI calls, including OpenAI, Anthropic, Hugging Face models, and custom validation functions.
  • Supports structured output generation from LLMs, as demonstrated with OpenAI's response_format.
  • Focuses on tracing and evaluations, with engine and boards features currently on pause.

Maintenance & Community

  • Developed by Weights & Biases.
  • Tracing code is primarily located in weave/trace and weave/trace_server.
  • Evaluations code is in weave/flow.

Licensing & Compatibility

  • License: Not explicitly stated in the provided README.

Limitations & Caveats

The README indicates that the "Weave engine" and "Weave boards" components are on pause, with current development focused on Tracing and Evaluations.

Health Check
Last Commit

18 hours ago

Responsiveness

1 day

Pull Requests (30d)
252
Issues (30d)
4
Star History
7 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
3 more.

AutoPR by irgolic

0%
1k
AI-powered workflows for codebase automation
Created 2 years ago
Updated 1 year ago
Feedback? Help us improve.