← Back to Dashboard

AI Manager

Multi-LLM Orchestrator (OpenAI (ChatGPT))

⚠️
Some AI Providers Unavailable

The following providers are disabled or have missing credentials in AWS Secrets Manager:

🧠 Claude (Anthropic) 🔍 DeepSeek ✨ Gemini (Google)
Hello! I am the AI Manager. How can I assist you today?
📡 API Examples - Provider Agnostic

Copy and paste these curl commands to programmatically interact with any AI provider. All commands use the same endpoint with different provider parameters.

Generic Template (Any Provider)
curl -k -X POST "https://${window.location.hostname}/api/ai/chat" \
  -H "Content-Type: application/json" \
  -d '{
    "message": "Your question here",
    "purpose": "general",
    "provider": "openai"
  }'
🤖 OpenAI (ChatGPT)
curl -k -X POST "https://${window.location.hostname}/api/ai/chat" \
  -H "Content-Type: application/json" \
  -d '{"message":"Hello, how are you?","purpose":"general","provider":"openai"}'
📄 Expected Response Format:
{
  "statusCode": 200,
  "data": {
    "trace_id": "...",
    "provider": "openai",
    "content": "The AI response text",
    "latency_ms": 1234.56,
    "tokens": {
      "input": 10,
      "output": 25
    }
  }
}