Skip to content

Inzhenerka/local_rag_course

 
 

Repository files navigation

RAG Project (from Notebook)

Описание

Простой RAG (Retrieval-Augmented Generation) проект.

Установка

pip install -r requirements.txt pip install faiss-cpu

Запуск

uvicorn api:app --reload

Адрес: http://127.0.0.1:8000/docs

API

POST /ask { "query": "Ваш вопрос" }

Структура

  • retriever.py
  • reranker.py
  • orchestrator.py
  • prompt_builder.py
  • vector_db.py
  • api.py

Важно

  • Используется FAISS (inner product)
  • Metadata не используется

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%