nomyo/doc
2026-04-13 15:12:22 +02:00
..
api-reference.md fix: update base_url 2026-04-11 17:16:24 +02:00
examples.md feat: update project version and documentation link 2026-02-03 18:40:51 +01:00
getting-started.md fix: update base_url 2026-04-11 17:16:24 +02:00
installation.md doc: add all dependencies 2026-04-03 12:23:03 +02:00
models.md doc: added api-rate limits and models 2026-04-13 14:59:33 +02:00
rate-limits.md doc: added api-rate limits and models 2026-04-13 14:59:33 +02:00
README.md doc: add workflow image 2026-04-13 15:12:22 +02:00
secure-inference.jpg doc: add workflow image 2026-04-13 15:12:22 +02:00
security-guide.md doc: corrections and removal of outdated info 2026-04-03 15:38:53 +02:00
troubleshooting.md doc: add troubleshooting 2026-04-12 16:50:33 +02:00

NOMYO Secure Client Documentation

This documentation provides comprehensive information about using the NOMYO Secure Python Chat Client, a drop-in replacement for OpenAI's ChatCompletion API with end-to-end (E2E) encryption. To use this client library you need a paid subscribtion on NOMYO Inference.

Inference Image

Overview

The NOMYO Secure Client provides:

  • End-to-end encryption using hybrid encryption (AES-256-GCM + RSA-OAEP)
  • OpenAI API compatibility - same interface as OpenAI's ChatCompletion
  • Secure memory protection - prevents plaintext from being swapped to disk
  • Automatic key management - handles key generation and loading automatically
  • HTTPS enforcement - secure communication by default

Quick Start

import asyncio
from nomyo import SecureChatCompletion

async def main():
    # Initialize client (defaults to https://api.nomyo.ai)
    client = SecureChatCompletion(api_key="your-api-key-here")

    # Simple chat completion
    response = await client.create(
        model="Qwen/Qwen3-0.6B",
        messages=[
            {"role": "user", "content": "Hello! How are you today?"}
        ],
        security_tier="standard", # optional: standard, high or maximum
        temperature=0.7
    )

    print(response['choices'][0]['message']['content'])

# Run the async function
asyncio.run(main())

Documentation Structure

  1. Installation - How to install and set up the client
  2. Getting Started - Quick start guide with examples
  3. API Reference - Complete API documentation
  4. Models - Available models and selection guide
  5. Security Guide - Security features and best practices
  6. Examples - Advanced usage scenarios
  7. Rate Limits - Request limits, burst allowance, and error handling
  8. Troubleshooting - Common issues and solutions

Key Features

  • OpenAI Compatibility: Use the same API as OpenAI's ChatCompletion
  • End-to-End Encryption: All prompts and responses are automatically encrypted/decrypted
  • Secure Memory Protection: Prevents sensitive data from being swapped to disk
  • Automatic Key Management: Keys are generated and loaded automatically
  • Flexible Security Tiers: Control security levels for different data types