SAIA Python Wrapper#
A Python wrapper for the GWDG SAIA platform REST API, providing object-oriented and functional interfaces to Chat AI, Voice AI, ARCANA (RAG), and document conversion services.
Installation, authentication, and initial API calls.
Architecture, implementation rationale, and configuration reference.
Complete reference for all classes and functions.
Higher-level recipes built on the wrapper — e.g. ARCANA incremental sync and tokenizers.
Local setup, testing, documentation builds, and release workflow.
Records of significant design decisions (MADR format) and their rationale.
Wrapped Services#
Chat AI — chat completions with streaming and tool calling
Voice AI — audio transcription and translation (Whisper)
ARCANA — RAG: knowledge base management and retrieval-augmented chat
Documents (Docling) — PDF and document conversion to Markdown, HTML, JSON
Models — list available models and probe tool-calling support
Rate Limits — inspect current quota and usage
Minimal example#
from saia_python import SAIAClient
client = SAIAClient() # API key resolved from env var, .saia_api, or .env
print(client.models.list_ids())
response = client.chat.completions(
model="meta-llama-3.1-8b-instruct",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response["choices"][0]["message"]["content"])
print(client.get_rate_limits())
Institutions & Funding#
The developer team is part of the Göttingen Campus Institute for Dynamics of Biological Networks (CIDBN).