Skip to content

bualust/ragqueen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RagQueen

This is a RAG (Retrieval-Augmented Generation) to retrieve information from documentation written in markdown. It uses LangChain to process the inputs, HuggingFaces' all-MiniLM-L6-v2 as sentence transformer and OllamaModel llama3.1 for the inferance.

Firstly set the User Agent string to identify yourself when scraping the inputs

export USER_AGENT="ragqueen/1.0"

Set

export TOKENIZERS_PARALLELISM=false

To download the documentation and process it into embeddings

uv run process_input.py --config config.yaml

To ask a query

uv run query.py

About

A RagQueen? A RagQueen? I am the Queen of Rags! ✨

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages