Skip to content

Langchain-Braintune Integration: A guide to help Python developers integrate the Braintune platform with the Langchain framework for building powerful, language model-driven applications. Includes step-by-step tutorials and examples.

Notifications You must be signed in to change notification settings

braintune-ai/using-langchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Braintune and Langchain Integration Guide

Braintune integration

This guide provides examples and instructions to help you integrate Braintune with Langchain, a framework for building language model-powered applications. By following the step-by-step tutorials in this guide, you will learn how to enhance a simple question-answering script with Braintune LLMops functions.

Braintune is a prompt engineering and management tool developed to address the growing need for a streamlined workflow in managing LLM prompts.

The repository contains code and instructions for integrating Braintune with Langchain in two ways:

  1. Improve Question Answering with Braintune & Langchain: Preparation and indexing of documents for a question answering application.
  2. Track Prompt Usage and Gain Insights: Monitor prompt usage and gather insights on your prompts' performance in the Braintune UI.
  3. Integrate Braintune Prompts with Langchain: Full integration of Braintune prompts in a Langchain application, including both using Playground and metrics.

Getting Started

To set up the Braintune and Langchain integration, follow these steps:

  1. Clone the repository and install dependencies in a virtual environment.

  2. Sign up for a free Activeloop account.

  3. Create a .env file in the repository root to set environment variables for Python, Braintune, and Langchain.

  4. Follow the tutorials in the repository's markdown files to configure document indexing, prompt monitoring, and full integration with Braintune and Langchain.

Support & Contributions

If you need help or have questions about integrating Braintune and Langchain, please open an issue on our Github repository.

We welcome contributions! To improve our examples, documentation, or code, submit a pull request.

About

Langchain-Braintune Integration: A guide to help Python developers integrate the Braintune platform with the Langchain framework for building powerful, language model-driven applications. Includes step-by-step tutorials and examples.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages