Skip to main content

RAG-Powered-AI-Assistant

Welcome to the RAG-Powered AI Assistant repository! This project demonstrates how to build a Retrieval-Augmented Generation (RAG) powered AI assistant.

Preparation

  1. Clone the repository:

    git clone https://github.com/HiIAmTzeKean/RAG-Powered-AI-Assistant
    
  2. You will have to download the knowledge base of publications from Ready Tensor and place it under /data directory first.

  3. Install the required dependencies using uv:

    uv sync
    

Required environment variables

  • MISTRAL_API_KEY: Your Mistral API key.
  • HF_KEY: Your Hugging Face API key

Usage

CLI

To run the AI assistant, use the following command after ensuring that the environment variables are set:

uv run cli "What are effective techniques for handling class imbalance?"

Web UI

To run the web UI, use the following command and navigate to the page in your web browser:

uv run ui

Metadata

Release files for rag-ssistant 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rag-ssistant 0.1.1
File Size Uploaded
rag_ssistant-0.1.1.tar.gz 467.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rag-ssistant 0.1.1
File Interpreter ABI Platform
rag_ssistant-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 475.5 kB

Release files / rag_ssistant-0.1.1.tar.gz

Download URL rag_ssistant-0.1.1.tar.gz
Size 467.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d489c69f78be0f73c1bd1acc93c6b669f01fe512362b78a0146b170d735cafd8
BLAKE2b-256 checksum
How to use checksums
ccf0bbe88ca0bb65805efb6f59e4c95c15e1da0d57fc62368c03a301ae9f28c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.12

Release files / rag_ssistant-0.1.1-py3-none-any.whl

Download URL rag_ssistant-0.1.1-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe2668c40bb4e4b78bd8db33daf46d107e85df1c35bc0c13d6d49eb671b7eb53
BLAKE2b-256 checksum
How to use checksums
49f6b4a1bfba4eea68b6ce1037b20f1e36f3eabd03ed33b60f42cd69b099452e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.12

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page