8000 GitHub - Keisn1/buergerservice-rag-hackathon: rag system for hackathon
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Keisn1/buergerservice-rag-hackathon

Repository files navigation

Readme

Files

  1. main.py: This is the entry point of our FastAPI application. It defines the API routes and orchestrates the different com 58CD ponents of our system.
  2. chroma_utils.py: Contains utilities for interacting with the Chroma vector store, including functions for indexing documents and performing similarity searches.
  3. db_utils.py: Handles database operations, including storing and retrieving chat history and document metadata.
  4. langchain_utils.py: Encapsulates the LangChain-specific logic, such as creating the RAG chain and configuring the language model.
  5. pydantic_models.py: Defines Pydantic models for request and response validation, ensuring type safety and clear API contracts.
  6. requirements.txt: Lists all the Python packages required for the project.

pydantic

  • Pydantic is a data validation library that uses Python type annotations to define data schemas.
  • In our FastAPI application, we use Pydantic models to define the structure of our request and response data. Let’s break down the models defined in

About

rag system for hackathon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0