Skip to content

Conversation

tylin7111095022
Copy link
Contributor

This example demonstrates how to implement a RAG (Retrieval-Augmented Generation) application using LangChain version 1.0.0.

🚀 Quick Start Guide

1. Prerequisites

You must first install the uv package to manage dependencies and your virtual environment efficiently.

# Install uv (if you haven't already)
pip install uv

2. Install Dependencies

Use the uv sync command. This will create a virtual environment and install all necessary packages defined for the project.

uv sync

3. Configuration

Create a file named .env in the project's root directory and include your OpenAI API key:

OPENAI_API_KEY="YOUR_OPENAI_API_KEY"

4. Run the Application

Execute the main script to run the RAG application:

python main.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant