# LangChain Project
This repository contains the source code for a language processing application built with Python, leveraging the PyTorch framework for implementing language models and integrating various tools for enhanced language understanding and generation capabilities.
## Features
- **Language Model Integration**: Utilizes advanced language models for understanding and generating human-like text.
- **Tool Integration**: Seamlessly integrates external tools like Tavily for specialized searches, enhancing the application's capabilities.
- **Dynamic Interaction Graph**: Employs a state graph for managing the flow of interactions, allowing for complex conversational logic.
## Installation
To set up the project environment, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/crismolav/langchain-project.git- Navigate to the project directory:
cd langchain-project - Install the required Python packages:
pip install -r requirements.txt
To start the application, run the following command in the terminal:
python src/lang_graph.pyFollow the on-screen prompts to interact with the application.
The application requires setting up environment variables for API keys. Rename the .env.example file to .env and update it with your API keys:
OPENAI_API_KEY=your_openai_api_key_here
TAVILY_API_KEY=your_tavily_api_key_hereContributions are welcome! Please feel free to submit a pull request or open an issue for any bugs or feature requests.
This project is licensed under the MIT License - see the LICENSE file for details.
This README provides a basic overview, installation guide, usage instructions, configuration details, contribution guidelines, and licensing information for the project. Adjust the repository URL and any specific details as necessary.