Building Code RAG Using CodeLlama and Qdrant
Full Article : [https://medium.com/@learn-simplified/lotus-semantic-search-over-structured-unstructured-data-f24fed45af63
Hands on with Declarative prog model & optimized query engine for serving powerful reasoning-based query pipelines over structured and unstructured data
This article breaks down the technical concepts of the research paper, "TAG: Semantic Search Over Structured & Unstructured Data", into simple language, making it accessible and exciting for readers unfamiliar with complex computer science. The paper presents an innovative search system, TAG, that uses AI to enhance semantic searches over various types of data. TAG's primary goal is to help users navigate massive datasets, whether they're structured (like databases) or unstructured (like articles or reports), by introducing AI-driven tools that can understand the meaning behind the data.
Understanding how TAG works can give you insight into the future of data search. As businesses, researchers, and individuals handle more information than ever before, they face a significant challenge in making sense of it all. TAG solves this by leveraging AI for smarter searches that go beyond keywords and into the meaning of the content itself. Whether you're involved in data science, research, or just want to know how future technology will improve information processing, this article explains why TAG is important and how it can impact a wide range of fields.
- Python installed on your system.
- A basic understanding of virtual environments and command-line tools.
- Virtual Environment Setup:
-
Create a dedicated virtual environment for our project:
python -m venv Building_Code_RAG_Using_CodeLlama_and_Qdrant
-
Activate the environment:
- Windows:
Building_Code_RAG_Using_CodeLlama_and_Qdrant\Scripts\activate
- Unix/macOS:
source Building_Code_RAG_Using_CodeLlama_and_Qdrant/bin/activate
- Windows:
-
Install Project Dependencies:
Follow these steps to set up and run the 'Real Estate Advisory Company Using AI Agents' project:
-
Navigate to your project directory:
cd path/to/your/project
This ensures you're in the correct location for the subsequent steps.
-
Install the required dependencies:
pip install -r requirements.txt
This command installs all the necessary Python packages listed in the requirements.txt file.
# run qdrant docker image
docker run -p 6333:6333 -p 6334:6334 -v C:\qdrant_data:/qdrant/storage:z qdrant/qdrant
# Run Code RAG Using CodeLlama and Qdrant
streamlit run app.py