8000 GitHub - hughsio/RAG: This project is an AI-powered code assistant that leverages various AI models and APIs to help developers with coding tasks, code generation, and potentially code analysis.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ RAG Public

This project is an AI-powered code assistant that leverages various AI models and APIs to help developers with coding tasks, code generation, and potentially code analysis.

License

Notifications You must be signed in to change notification settings

hughsio/RAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeFactor

Retrieval-Augmented Generation (RAG) Notebook

This notebook demonstrates the use of Retrieval-Augmented Generation (RAG) techniques using various libraries and APIs such as HuggingFace, LangChain, Pinecone, and OpenAI. The goal is to process a dataset of resumes, embed the text data, store it in a vector database, and perform queries to retrieve relevant information.

Skills and Resources

Skills:

  • HuggingFace
  • LangChain
  • Pinecone
  • OpenAi

Other Resources:

Getting Started

To get started with this project, follow these steps:

  1. Clone the repository to your local machine.

  2. Set up a virtual environment:

    python -m venv .env
    source .env/bin/activate  # On Windows, use `.env\Scripts\activate`
    
  3. Install the required dependencies:

    pip install -r requirements.txt
    
  4. Set up your environment variables: Create a .env file in the root directory and add your API keys:

    GROQ_API_KEY=your_groq_api_key
    OPENAI_API_KEY=your_openai_api_key
    PINECONE_API_KEY=your_pinecone_api_key
    
  5. Make sure you have the necessary permissions and access to the APIs mentioned in the .env file.

Project Structure .env: Contains environment variables and API keys (not tracked by git) .gitignore: Specifies files and directories that should not be tracked by git requirements.txt: Lists all Python dependencies for the project

About

This project is an AI-powered code assistant that leverages various AI models and APIs to help developers with coding tasks, code generation, and potentially code analysis.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0