8000 GitHub - saxenaakansha30/drupal-rag-app: Integration of Drupal with RAG architecture.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

saxenaakansha30/drupal-rag-app

Repository files navigation

FastAPI RAG Server

This FastAPI application provides an API for the RAG (Retrieve, Augment, Generate) system, allowing users to ask questions and receive generated responses.

Required Packages

pip install fastapi uvicorn langchain langchain-community fastembed chromadb

Getting Started

To get the server running locally:

  1. Clone the repository
  2. Install the requirements:
  3. Install Ollama, Run Ollama.
  4. Run the development server: uvicorn main:app --port 8086 --reload

API Endpoints

  • POST /ask: Submit a question and receive a response from LLM.
  • POST /feed/add: Stores data to chroma vector store.
  • POST /feed/update: Update data stored in chroma vector store.
  • POST /feed/delete: Delete data stored in chroma vector store.
  • POST /reset: Reset the chroma vector storage.
  • POST /all-docs: Lists all documents stored in vector storage.

About

Integration of Drupal with RAG architecture.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0