Skip to content

Rahyanaco/python

Repository files navigation

Rahyana AI API – Python Examples (2025)

⚠️ Note: Not all examples are tested yet. Please use with caution and report any issues.

  • Production base URL: https://rahyana.ir/api/v1
  • Local testing: set API_KEY_OVERRIDE and BASE_URL_OVERRIDE in your environment
  • Featured models: openai/gpt-5, openai/gpt-4o

Folders:

  • chat-completions/ – basic, streaming, JSON mode, tools, image/audio/PDF, web search
  • completions/ – legacy text completions
  • models/ – list available models
  • real-world-projects/ – practical, trending apps (content generator, chatbot, code assistant)
  • advanced-examples/ – voice (text fallback), data analyzer, automation, web3 scaffold
  • ai-tools/ – test generator, performance monitor, docs generator, code reviewer, CI/CD assistant

Quick start:

# Optional: create venv and install deps
python3 -m venv .venv && source .venv/bin/activate
pip install -r github-examples/python/requirements.txt

# Run smoke tests
API_KEY_OVERRIDE="YOUR_REAL_KEY" BASE_URL_OVERRIDE="http://localhost:3000/api/v1" \
python3 github-examples/python/test_all_examples.py

SEO keywords: Rahyana AI Python, GPT-5 examples, GPT-4o streaming, AI content generator, Python chatbot, AI code review, CI/CD assistant, Web3 AI, JSON mode, OpenAI-compatible.

About

Python examples for Rahyana API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages