A FastMCP-based RAG server for dynamic document ingestion
Project description
RAG Server
A FastMCP-based Retrieval-Augmented Generation server for dynamically ingesting public documents and querying them on-the-fly.
Installation
pip install -r requirements.txt
Ensure you set your OpenAI API key:
export OPENAI_API_KEY=your_key_here
Running the server
python -m rag_server.server
API Tools
- ingest_urls(urls: List[str], session_id: Optional[str]) -> session_id
- query_knowledge(session_id: str, question: str) -> answer
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rag_server-0.0.1.tar.gz
(68.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rag_server-0.0.1.tar.gz.
File metadata
- Download URL: rag_server-0.0.1.tar.gz
- Upload date:
- Size: 68.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44aaaaf3ae680c91bea5080afcd255dfbbc9c8f2cb18c34d2ecb79e2a7f53a01
|
|
| MD5 |
8a1619ce73fd0f2bdd72a4758942341e
|
|
| BLAKE2b-256 |
fb2ef52d7d5d93a82c0e92e677c0c5f2290f392a8692b06dadff5688083ea913
|
File details
Details for the file rag_server-0.0.1-py3-none-any.whl.
File metadata
- Download URL: rag_server-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
142989a5ec4d6248fba00b4f362e673319553378f82544ee15b458bf6196e897
|
|
| MD5 |
f7f5d54502df1eba22a7391c00321e86
|
|
| BLAKE2b-256 |
4774bf432248c60192045ad037caba20253327c9f4e880b786d36d45598c1360
|