Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanskaryo/langchain_chat
https://github.com/sanskaryo/langchain_chat
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sanskaryo/langchain_chat
- Owner: sanskaryo
- Created: 2024-07-14T07:24:05.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-15T04:43:57.000Z (6 months ago)
- Last Synced: 2024-07-15T08:38:16.332Z (6 months ago)
- Language: Python
- Size: 11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Document Q/A using gemini and groq- gen ai project
LangChain Chat is a sophisticated application that leverages advanced Generative AI models, including Google's Gemini and Groq's open-source model, to provide accurate answers to questions based on document content. This project demonstrates the power of AI in document processing and information retrieval.
## Features
- **Document Ingestion**: Efficiently load and process PDF documents.
- **Advanced Embeddings**: Utilize Google's Gemini for high-quality vector embeddings.
- **Efficient Retrieval**: Implement FAISS for fast and accurate vector search.
- **Interactive Q&A**: Seamlessly ask questions and get context-aware answers.
- **User-Friendly Interface**: Built with Streamlit for an intuitive user experience.## Installation
### Prerequisites
- Python 3.8 or higher
- pip (Python package installer)### Steps
1. **Clone the Repository**:
sh
git clone https://github.com/sanskaryo/langChain_chat.git
cd langChain_chat
2. **Set Up a Virtual Environment**:
sh
python -m venv .venv
source .venv/bin/activate # On Windows, use .venv\Scripts\activate
3. **Install Dependencies**:
sh
pip install -r requirements.txt
4. **Configure Environment Variables**:
Create a `.env` file in the project root directory and add your API keys:
plaintext
groq_api=YOUR_GROQ_API_KEY
google_api_key=YOUR_GOOGLE_API_KEY
## Usage
To run the application, use the following command:
sh
streamlit run app.py## Contributing
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
## Credits
Inspired by Krishna Naik Sir.
## Author
Made by Sanskar Khandelwal with ❤️
## License
This project is licensed under the MIT License.
This README provides a comprehensive overview of the project, installation steps, usage instructions, contribution guidelines, and licensing information.