mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
1 line
2.4 KiB
JSON
1 line
2.4 KiB
JSON
{"text":["Integrations","Docker","🐳","Infrastructure","Use Hanzo AI with Docker","Deploy Hanzo AI-powered services in Docker containers. Use the Hanzo API from any containerized application with proper environment configuration.","Base URL:","https://api.hanzo.ai/v1","Get yours at","Fully OpenAI-compatible","400+ models","available","API Key:","platform.hanzo.ai/api-keys","Created by","Docker / Moby Project","License:","Apache-2.0","View source on GitHub →","Hanzo AI is OpenAI-compatible, so existing Docker code works with zero refactoring. We deeply appreciate the Docker / Moby Project team for building and maintaining this open-source project.","Dockerfile","dockerfile","FROM","python:3.12-slim","WORKDIR","/app","COPY","requirements.txt .","RUN","pip install -r requirements.txt",". .","ENV","HANZO_API_KEY=","\"\"","OPENAI_API_BASE=","\"https://api.hanzo.ai/v1\"","CMD","\"python\"","\"main.py\"","compose.yml","yaml","services","app","build","environment","HANZO_API_KEY=${HANZO_API_KEY}","OPENAI_API_BASE=https://api.hanzo.ai/v1","ports","8000:8000","restart","unless-stopped","Run with env","bash","# .env file","your-hanzo-api-key","# Start","docker","compose","up","-d","# Or direct run","run","-e","HANZO_API_KEY=your-key","-p","my-ai-app","App code","python","import","os","from","openai","OpenAI","client = OpenAI","base_url=os","environ","get","OPENAI_API_BASE","),","api_key=os","HANZO_API_KEY","],","Ready to get started?","Create a free account and get your API key. The Free plan includes free model requests and Kai decisions, no card.","Get API key — Free","Browse Models","More integrations","OpenAI Python SDK","Anthropic SDK","LangChain","LlamaIndex","Vercel AI SDK","Hugging Face","AutoGen","CrewAI","DSPy","Haystack","Cursor","Continue.dev","GitHub Copilot","Kubernetes","Python","TypeScript","Go","Rust"],"links":["/integrations","https://platform.hanzo.ai/api-keys","https://docker.com","https://github.com/moby/moby","/models","/integrations/openai-sdk","/integrations/anthropic-sdk","/integrations/langchain","/integrations/llamaindex","/integrations/vercel-ai-sdk","/integrations/huggingface","/integrations/autogen","/integrations/crewai","/integrations/dspy","/integrations/haystack","/integrations/cursor","/integrations/continue-dev","/integrations/github-copilot","/integrations/kubernetes","/integrations/python","/integrations/typescript","/integrations/go","/integrations/rust"]} |