Skip to main content

MmRAG-SDK

MmRAG-SDK is a simple Python SDK designed to make testing easier by eliminating the need to send HTTP requests from the terminal or script them manually.

🚀 How to Use

  1. Set Up Your Environment:

I recommend using uv to manage your environment:

uv init .
uv add mmragsdk

Otherwise, with pip:

python3 -m venv .venv
. .venv/bin/activate
pip install mmragsdk

That’s it! Your environment is ready.

  1. Initialize the SDK

Import and initialize the Client:

from mmragsdk import Client


client = Client(token='your_token_here')

💡 Note: To obtain a token, please email me at tambascomarco35@gmail.com and I will generate one for you.

Available Methods

# Send a prompt
client.chat(prompt="your prompt here")
# - prompt: str
# - Raises ValueError if the prompt is empty

# Upload a file
client.upload(file_path="path/to/your/file.txt")
# - file_path: str
# - Raises FileNotFoundError if the file does not exist

# Perform a search
client.search(query="your search query")
# - query: str
# - Raises ValueError if the query is empty

# Clean storage
client.clean()
# - No parameters
# - ⚠️ DANGER: This method clears all stored data

🎉 Have Fun!

Enjoy a smooth and hassle-free testing experience with MmRAG-SDK. If you have questions or suggestions, feel free to reach out!

Metadata

Release files for mmragsdk 1.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mmragsdk 1.0.8
File Size Uploaded
mmragsdk-1.0.8.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mmragsdk 1.0.8
File Interpreter ABI Platform
mmragsdk-1.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 12.1 kB

Release files / mmragsdk-1.0.8.tar.gz

Download URL mmragsdk-1.0.8.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
83ed5b9ace45f41b290d252c3bb0f51c3ce3bb5728187d3c706f65def6fe93f1
BLAKE2b-256 checksum
How to use checksums
a2e89ec5c49ccddd696844131f2c6e531baf516bd6156d5d8e28aad3a7f0e329
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / mmragsdk-1.0.8-py3-none-any.whl

Download URL mmragsdk-1.0.8-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da4c2dee535f39531cc245f9da5267b8cef1603503e7433a268f135bbd4e1a33
BLAKE2b-256 checksum
How to use checksums
c12c60e75b7d183273c757c0b53af597e434f1f5d596e581c10e95f7aa03803c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.0.8 This release

2 release files

1.0.7

2 release files

0.1.5

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page