https://github.com/saadsalmanakram/lang-x-index
This repo is regarding learning everything you need to know to master Langchain and Llamaindex
https://github.com/saadsalmanakram/lang-x-index
langchain langchain-js langchain-python llamaindex llamaindex-rag
Last synced: 3 months ago
JSON representation
This repo is regarding learning everything you need to know to master Langchain and Llamaindex
- Host: GitHub
- URL: https://github.com/saadsalmanakram/lang-x-index
- Owner: saadsalmanakram
- Created: 2024-09-18T12:56:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-27T10:42:37.000Z (8 months ago)
- Last Synced: 2025-04-05T04:11:13.579Z (6 months ago)
- Topics: langchain, langchain-js, langchain-python, llamaindex, llamaindex-rag
- Language: Python
- Homepage:
- Size: 112 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lang-x-Index Learning Repository
Welcome to the **Lang-x-Index Learning Repository**! This repository is dedicated to teaching developers how to effectively use **LangChain** and **LlamaIndex** to build advanced AI applications. It covers everything from basic concepts to real-world implementations.
## π About the Project
The goal of this repository is to provide structured and practical tutorials on leveraging LangChain and LlamaIndex for building AI-powered applications. You'll find hands-on examples, best practices, and comprehensive guides to help you master these frameworks.
## π Why LangChain & LlamaIndex?
- **LangChain** enables developers to integrate large language models (LLMs) with external data sources, memory, and agents.
- **LlamaIndex** provides an optimized indexing and retrieval system, making it easier to work with large document datasets efficiently.
- Together, they power **context-aware, intelligent applications** such as AI chatbots, retrieval-augmented generation (RAG) systems, and automated data analysis.## π οΈ Tech Stack
This repository utilizes the following technologies:
- **Programming Language:** Python
- **Frameworks:** LangChain, LlamaIndex
- **LLM Providers:** OpenAI, Hugging Face, Anthropic
- **Data Handling:** Pandas, NumPy
- **Databases & Vector Stores:** Pinecone, ChromaDB, FAISS
- **Deployment Tools:** FastAPI, Streamlit, Gradio## π Learning Modules
### 1οΈβ£ Introduction to LangChain & LlamaIndex
- Overview of LangChain and LlamaIndex
- Installation and setup
- First steps with LangChain pipelines### 2οΈβ£ Working with LLMs
- Using OpenAIβs API for language tasks
- Implementing memory and conversation history
- Customizing prompts for better results### 3οΈβ£ Indexing and Retrieval
- Understanding vector databases
- Implementing document indexing with LlamaIndex
- Optimizing query responses### 4οΈβ£ Building RAG Systems
- Introduction to Retrieval-Augmented Generation
- Combining LangChain & LlamaIndex for intelligent search
- Enhancing response accuracy with embeddings### 5οΈβ£ Deploying AI Applications
- Creating a chatbot using Gradio
- Building a web API with FastAPI
- Deploying on cloud services## π₯ Installation & Setup
### Prerequisites
- Python 3.8+
- Install required dependencies:
```bash
pip install langchain llama-index openai chromadb pandas gradio
```
- Set up API keys for OpenAI and vector databases.## π€ Contributing
We welcome contributions! To contribute:
1. Fork the repository.
2. Create a new branch (`feature/your-feature-name`).
3. Commit your changes and push to your fork.
4. Open a pull request.Please read our [CONTRIBUTING.md](CONTRIBUTING.md) for more details.
## π License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## π§ Contact
For questions or collaborations, reach out via:
- **GitHub:** [saadsalmanakram](https://github.com/saadsalmanakram)
- **LinkedIn:** [Saad Salman Akram](https://www.linkedin.com/in/saadsalmanakram/)
- **Email:** saadsalman1\@gmail.com---
### β Show Your Support
If you find this project useful, consider giving it a star β to support its development!