कंटेंट पर जाएँ
Responses API

Responses API

नया

POST /v1/responses निर्देश और इनपुट आइटम की सूची लेता है और OpenAI Responses फ़ॉर्मेट में आउटपुट आइटम से बना रिस्पॉन्स ऑब्जेक्ट लौटाता है। इसे OpenAI SDK की responses API के साथ और उस पर बने टूल, जैसे Codex CLI, के साथ इस्तेमाल करें। endpoint कोई स्टेट नहीं रखता: हर अनुरोध के साथ पूरी बातचीत भेजें।

POST https://api.shannon-ai.com/v1/responses

सबसे छोटा अनुरोध एक मॉडल id और एक टेक्स्ट है। उत्तर तब तक स्ट्रीम नहीं होता जब तक आप माँगें नहीं।

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.shannon-ai.com/v1",
)

response = client.responses.create(
    model="shannon-3",
    input="Say hello in one sentence.",
)

print(response.output_text)

उत्तर एक रिस्पॉन्स ऑब्जेक्ट है। उसके output में रीज़निंग, जब मॉडल ने रीज़निंग की, और संदेश होते हैं:

200 JSON
{
  "id": "resp_5f0c1e7a9b3d4c62a8e1f07d2b46c9a3",
  "object": "response",
  "created_at": 1791625200,
  "model": "shannon-3",
  "status": "completed",
  "error": null,
  "incomplete_details": null,
  "instructions": null,
  "metadata": {},
  "parallel_tool_calls": true,
  "temperature": null,
  "tool_choice": "auto",
  "tools": [],
  "top_p": null,
  "output": [
    {
      "id": "rs_8a2e6c1f4b7d4e03b9c5a1d70f3e2b64",
      "type": "reasoning",
      "summary": [
        {
          "type": "summary_text",
          "text": "The user wants a greeting in one sentence. Keep it short and friendly."
        }
      ]
    },
    {
      "id": "msg_1c7b9e3a5d2f4a86b0e4c8d19a6f7e25",
      "type": "message",
      "role": "assistant",
      "status": "completed",
      "content": [
        {
          "type": "output_text",
          "text": "Hello, it is good to meet you.",
          "annotations": []
        }
      ]
    }
  ],
  "usage": {
    "input_tokens": 1184,
    "output_tokens": 46,
    "total_tokens": 1230
  }
}

अनुरोध फ़ील्ड

अनुरोध को model और input चाहिए। Applied by कॉलम उन मॉडल के नाम बताता है जिन पर कोई फ़ील्ड उत्तर बदलता है। होस्टेड ओपन-वेट मॉडल मॉडल सूची के बारह id हैं; Shannon 3 परिवार shannon-3, shannon-3-pro, shannon-3.1 और shannon-3.1-pro है। मॉडल और कीमतें

फ़ील्ड प्रकार डिफ़ॉल्ट विवरण कौन लागू करता है
model string ज़रूरी। मॉडल सूची से एक id। मिलान में अपरकेस और लोअरकेस का फ़र्क नहीं पड़ता। न होने पर या अप्रकाशित id पर 400 unknown model लौटता है। सभी मॉडल
input string | array एक स्ट्रिंग, जिसे एक यूज़र संदेश की तरह पढ़ा जाता है, या इनपुट आइटम का ऐरे। नीचे Input items देखें। सभी मॉडल
instructions string मॉडल के लिए निर्देश, इस फ़ॉर्मेट का सिस्टम प्रॉम्प्ट। होस्टेड ओपन-वेट मॉडल, shannon-1.6-*, shannon-2-*, shannon-coder-1
stream boolean false true उत्तर को सर्वर-सेंट इवेंट के रूप में भेजता है। नीचे Streaming देखें। सभी मॉडल
max_output_tokens integer 4096 उत्तर की ऊपरी सीमा, टोकन में। 1 से 65,536 के बाहर का मान उसी सीमा में ले जाया जाता है। अनुरोध चलते समय यही मात्रा आपके बैलेंस से अलग रखी जाती है। नीचे Output limit देखें। होस्टेड ओपन-वेट मॉडल, shannon-1.6-*, shannon-2-*, shannon-coder-1
temperature number सैंपलिंग तापमान। होस्टेड ओपन-वेट मॉडल पर मान 0 और 2 के बीच रखे जाते हैं। होस्टेड ओपन-वेट मॉडल; स्ट्रीम न किए गए उत्तरों पर shannon-1.6-*, shannon-2-* और shannon-coder-1
top_p number न्यूक्लियस सैंपलिंग। मान 0 और 1 के बीच रखे जाते हैं। होस्टेड ओपन-वेट मॉडल
tools array वे फ़ंक्शन जिन्हें मॉडल कॉल कर सकता है, इस फ़ॉर्मेट के सपाट रूप में: {"type": "function", "name", "description", "parameters"}। नीचे Tools देखें। सभी मॉडल
tool_choice string | object auto "auto" मॉडल को तय करने देता है। "required" उसे टूल कॉल करने पर मजबूर करता है। {"type": "function", "name": "…"} उसे वही टूल कॉल करने पर मजबूर करता है। होस्टेड ओपन-वेट मॉडल
reasoning object {"effort": "…"}, जिसमें off, low, medium या high हो। कोई और मान 400 लौटाता है। होस्टेड ओपन-वेट मॉडल
text object {"format": {…}} JSON उत्तर माँगता है। नीचे Structured output देखें। सभी Shannon टियर; होस्टेड ओपन-वेट मॉडल जैसा हर id के लिए सूचीबद्ध है

previous_response_id, store, metadata, parallel_tool_calls, truncation, include, user और prompt_cache_key स्वीकार किए जाते हैं ताकि मौजूदा क्लाइंट कोड बिना बदलाव चले। वे उत्तर को नहीं बदलते। क्योंकि कोई बातचीत सहेजी नहीं जाती, अगला अनुरोध पिछले टर्न input में ले जाता है।

इनपुट आइटम

इनपुट आइटम या तो role और content वाला संदेश होता है, या टाइप किया हुआ आइटम जो टूल कॉल या उसका परिणाम ले जाता है। content एक स्ट्रिंग या भागों का ऐरे है।

आइटम विवरण कौन लागू करता है
{"role": "user", "content": …} आप जो पूछते हैं। content एक स्ट्रिंग है, या input_text और input_image भाग। सभी मॉडल
{"role": "assistant", "content": …} मॉडल का पिछला उत्तर। content एक स्ट्रिंग है, या output_text भाग। सभी मॉडल
{"role": "system", "content": …}
{"role": "developer", "content": …}
बातचीत के भीतर के निर्देश। होस्टेड ओपन-वेट मॉडल
{"type": "function_call", "call_id": "…", "name": "…", "arguments": "…"} वह टूल कॉल जो मॉडल ने पिछले उत्तर में की। arguments एक JSON स्ट्रिंग है। सभी मॉडल
{"type": "function_call_output", "call_id": "…", "output": "…"} उस कॉल का परिणाम। call_id कॉल का id है और output परिणाम स्ट्रिंग के रूप में। सभी मॉडल

निर्देश instructions फ़ील्ड में रखें। Shannon 3 परिवार के id के साथ, जो निर्देश ज़रूर माने जाने चाहिए उन्हें user संदेश में रखें।

उत्तर के output के आइटम जैसे हैं वैसे input में वापस जा सकते हैं: message और function_call आइटम पढ़े जाते हैं, reasoning आइटम छोड़ दिए जाते हैं।

कंटेंट भाग

भाग विवरण कहाँ उपलब्ध
{"type": "input_text", "text": "…"} यूज़र संदेश का टेक्स्ट। सभी मॉडल
{"type": "output_text", "text": "…"} असिस्टेंट संदेश का टेक्स्ट। सभी मॉडल
{"type": "input_image", "image_url": "…"} इमेज, base64 कंटेंट वाले data: URL के रूप में या http(s) URL के रूप में। Shannon 3 परिवार, shannon-1.6-lite, shannon-1.6-pro, और वे होस्टेड ओपन-वेट मॉडल जो इमेज इनपुट सूचीबद्ध करते हैं
{"type": "input_file", "file_data": "data:application/pdf;base64,…"} दस्तावेज़ (PDF, Word, PowerPoint या Excel): file_data में data: URL होता है, या file_url में http(s) URL। Shannon 3 परिवार

Shannon टियर पर इमेज और फ़ाइलें input के आख़िरी user आइटम से पढ़ी जाती हैं। आकार और सीमाओं का अपना पेज है। इमेज और फ़ाइलें

निर्देशों और विकल्पों वाला अनुरोध

यह अनुरोध निर्देश, इनपुट आइटम के रूप में बातचीत, आउटपुट सीमा, तापमान और रीज़निंग effort भेजता है। यह होस्टेड ओपन-वेट मॉडल इस्तेमाल करता है, जो इन सबको लागू करता है।

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.shannon-ai.com/v1",
)

response = client.responses.create(
    model="DeepSeek-V4-Flash-0731-W4A16-AUTOROUND-REAP",
    instructions="You are a physics teacher. Answer in two sentences.",
    input=[
        {"role": "user", "content": "Why is the sky blue?"},
        {"role": "assistant", "content": "Air scatters blue light more than red light."},
        {"role": "user", "content": "And why are sunsets red?"},
    ],
    max_output_tokens=512,
    temperature=0.3,
    reasoning={"effort": "low"},
)

for item in response.output:
    if item.type == "reasoning":
        print("reasoning:", item.summary[0].text)
    elif item.type == "message":
        print("answer:", item.content[0].text)
print(response.usage)

होस्टेड ओपन-वेट मॉडल के उत्तर में id, object, model, created_at, status, output और usage होते हैं। उसका usage कैश से पढ़े गए टोकन और रीज़निंग पर खर्च हुए टोकन जोड़ता है:

200 JSON
{
  "usage": {
    "input_tokens": 58,
    "input_tokens_details": {
      "cached_tokens": 0
    },
    "output_tokens": 67,
    "output_tokens_details": {
      "reasoning_tokens": 19
    },
    "total_tokens": 125
  }
}

रिस्पॉन्स ऑब्जेक्ट

id, object, status, output और usage हर उत्तर में होते हैं। अपना कोड इन्हीं पर बनाएँ।

फ़ील्ड प्रकार विवरण कौन भेजता है
id string resp_ और उसके बाद 32 हेक्साडेसिमल अक्षर। सभी मॉडल
object string हमेशा response। सभी मॉडल
status string completed। स्ट्रीम में यह पहले in_progress होता है, और response.failed इवेंट में failed। सभी मॉडल
output array आउटपुट आइटम उसी क्रम में जिसमें मॉडल ने उन्हें बनाया: reasoning, message, function_call। सभी मॉडल
usage object input_tokens, output_tokens और total_tokens। सभी मॉडल
usage.input_tokens_details object cached_tokens: प्रॉम्प्ट कैश से पढ़े गए इनपुट टोकन। होस्टेड ओपन-वेट मॉडल
usage.output_tokens_details object reasoning_tokens: रीज़निंग पर खर्च हुए आउटपुट टोकन। होस्टेड ओपन-वेट मॉडल
model string उत्तर देने वाले मॉडल का मानक id। Shannon 3 परिवार, होस्टेड ओपन-वेट मॉडल
created_at integer उत्तर का समय, Unix सेकंड में। Shannon 3 परिवार, होस्टेड ओपन-वेट मॉडल
instructions, tools, temperature, … instructions, tools और temperature अनुरोध को दोहराते हैं। error और incomplete_details null हैं, metadata {} है, parallel_tool_calls true है, tool_choice auto है और top_p null है। Shannon 3 परिवार

आउटपुट आइटम

आइटम विवरण
{"id": "rs_…", "type": "reasoning", "summary": [{"type": "summary_text", "text": "…"}]} मॉडल की रीज़निंग एक summary_text भाग के रूप में। केवल तब होता है जब मॉडल ने रीज़निंग की।
{"id": "msg_…", "type": "message", "role": "assistant", "content": [{"type": "output_text", "text": "…"}]} उत्तर: टेक्स्ट के साथ एक output_text भाग।
{"id": "fc_…", "type": "function_call", "call_id": "call_…", "name": "…", "arguments": "…"} टूल कॉल। arguments एक JSON स्ट्रिंग है। परिणाम उसी call_id के साथ वापस भेजें।

OpenAI SDK संदेश का टेक्स्ट आपके लिए response.output_text में जोड़ देते हैं।

स्ट्रीमिंग

सर्वर-सेंट इवेंट के लिए stream को true पर सेट करें। हर फ़्रेम में इवेंट के नाम वाली event: पंक्ति और JSON ऑब्जेक्ट वाली data: पंक्ति होती है; ऑब्जेक्ट type में नाम दोहराता है। डेल्टा को उनके आइटम से output_index द्वारा मिलाएँ।

OpenAI SDK के साथ, इवेंट को उनके type से पढ़ें:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.shannon-ai.com/v1",
)

stream = client.responses.create(
    model="shannon-3",
    input="Explain server-sent events in three sentences.",
    stream=True,
)

for event in stream:
    kind = getattr(event, "type", "error")     # an event without a type is an error event
    if kind == "response.reasoning_summary_text.delta":
        pass                                   # a piece of reasoning: event.delta
    elif kind == "response.output_text.delta":
        print(event.delta, end="", flush=True)
    elif kind == "response.output_item.done" and event.item.type == "function_call":
        print("\ntool call:", event.item.name, event.item.arguments)
    elif kind == "response.completed":
        print("\n", event.response.usage)
    elif kind in ("response.failed", "error"):
        raise RuntimeError("the stream failed, send the request again")

इवेंट इसी क्रम में आते हैं। रीज़निंग, संदेश और टूल कॉल के समूह तभी दिखते हैं जब उत्तर में वे हों।

इवेंट पेलोड कब
response.created response हमेशा पहला। response.status in_progress है और response.output खाली है।
response.in_progress response हमेशा दूसरा, उसी ऑब्जेक्ट के साथ।
response.output_item.added output_index, item रीज़निंग शुरू होती है: खाली summary वाला reasoning आइटम।
response.reasoning_summary_text.delta output_index, summary_index, delta रीज़निंग का एक टुकड़ा।
response.reasoning_summary_text.done output_index, summary_index, text रीज़निंग पूरी हुई: उसका पूरा text।
response.output_item.done output_index, item पूरा हुआ reasoning आइटम।
response.output_item.added output_index, item उत्तर शुरू होता है: स्टेटस in_progress और बिना कंटेंट वाला message आइटम।
response.content_part.added output_index, content_index, part एक खाली output_text भाग खुलता है।
response.output_text.delta output_index, content_index, delta उत्तर का एक टुकड़ा।
response.output_text.done output_index, content_index, text उत्तर पूरा हुआ: उसका पूरा text।
response.content_part.done output_index, content_index, part पूरा हुआ output_text भाग।
response.output_item.done output_index, item पूरा हुआ message आइटम, स्टेटस completed के साथ।
response.output_item.added output_index, item टूल कॉल शुरू होती है: call_id, name और खाली arguments वाला function_call आइटम।
response.function_call_arguments.delta output_index, delta कॉल के आर्गुमेंट, एक ही डेल्टा में पूरे।
response.function_call_arguments.done output_index, arguments वही आर्गुमेंट, arguments के रूप में।
response.output_item.done output_index, item पूरा हुआ function_call आइटम।
response.completed response सफलता पर हमेशा आख़िरी: output और usage के साथ पूरा रिस्पॉन्स ऑब्जेक्ट।
200 text/event-stream
event: response.created
data: {"type":"response.created","response":{"id":"resp_5f0c…","object":"response","status":"in_progress","output":[], …}}

event: response.in_progress
data: {"type":"response.in_progress","response":{"id":"resp_5f0c…","object":"response","status":"in_progress","output":[], …}}

event: response.output_item.added
data: {"type":"response.output_item.added","output_index":0,"item":{"id":"msg_1c7b…","type":"message","role":"assistant","status":"in_progress","content":[]}}

event: response.content_part.added
data: {"type":"response.content_part.added","output_index":0,"content_index":0,"part":{"type":"output_text","text":""}}

event: response.output_text.delta
data: {"type":"response.output_text.delta","output_index":0,"content_index":0,"delta":"Server-sent"}

event: response.output_text.delta
data: {"type":"response.output_text.delta","output_index":0,"content_index":0,"delta":" events let a server push text over one HTTP reply."}

event: response.output_text.done
data: {"type":"response.output_text.done","output_index":0,"content_index":0,"text":"Server-sent events let a server push text over one HTTP reply."}

event: response.content_part.done
data: {"type":"response.content_part.done","output_index":0,"content_index":0,"part":{"type":"output_text","text":"Server-sent events let a server push text over one HTTP reply."}}

event: response.output_item.done
data: {"type":"response.output_item.done","output_index":0,"item":{"id":"msg_1c7b…","type":"message","role":"assistant","status":"completed","content":[{"type":"output_text","text":"Server-sent events let a server push text over one HTTP reply.","annotations":[]}]}}

event: response.completed
data: {"type":"response.completed","response":{"id":"resp_5f0c…","object":"response","status":"completed","output":[…],"usage":{"input_tokens":1190,"output_tokens":18,"total_tokens":1208}, …}}

विफल होने वाली स्ट्रीम

Shannon टियर पर विफल उत्तर response.completed की जगह response.failed से खत्म होता है। उसका response.status failed है और response.error में code, rate_limit_exceeded या server_error, और message होता है।

होस्टेड ओपन-वेट मॉडल पर विफलता code api_error और message वाला error इवेंट है। उसके बाद भी response.completed आता है।

स्ट्रीम को विफल मानें जब उसमें response.failed या error इवेंट हो, और अनुरोध फिर भेजें।

टूल

टूल एक फ़ंक्शन है जिसे आपका कोड चलाता है। उसे tools में बताएँ; जब मॉडल उसे चाहता है, तो उत्तर में संदेश की जगह, या उसके साथ, function_call आइटम होता है।

tools में टूल परिभाषा:

tools
[
  {
    "type": "function",
    "name": "get_weather",
    "description": "Current weather for a city.",
    "parameters": {
      "type": "object",
      "properties": {
        "city": {
          "type": "string"
        }
      },
      "required": [
        "city"
      ]
    }
  }
]

उसे कॉल करने वाले उत्तर का output:

200 output
[
  {
    "id": "call_3d9a7c1e5b2f4a60c8e1d7f09b24a6c5",
    "type": "function_call",
    "name": "get_weather",
    "call_id": "call_3d9a7c1e5b2f4a60c8e1d7f09b24a6c5",
    "arguments": "{\"city\":\"Paris\"}"
  }
]

फ़ंक्शन चलाएँ, फिर कॉल और उसके परिणाम को input में जोड़कर अनुरोध फिर भेजें:

input
[
  {
    "role": "user",
    "content": "What is the weather in Paris?"
  },
  {
    "type": "function_call",
    "call_id": "call_3d9a7c1e5b2f4a60c8e1d7f09b24a6c5",
    "name": "get_weather",
    "arguments": "{\"city\":\"Paris\"}"
  },
  {
    "type": "function_call_output",
    "call_id": "call_3d9a7c1e5b2f4a60c8e1d7f09b24a6c5",
    "output": "{\"temperature_c\": 18, \"sky\": \"cloudy\"}"
  }
]

केवल प्रकार function के टूल पढ़े जाते हैं। shannon-1.6-*, shannon-2-* और shannon-coder-1 पर parameters स्कीमा सामान्य JSON Schema कीवर्ड तक घटा दिया जाता है: oneOf को anyOf की तरह पढ़ा जाता है, और $ref, additionalProperties, const, default और title जैसे कीवर्ड मॉडल को नहीं दिए जाते।

tool_choice के मान required और नाम वाला फ़ंक्शन होस्टेड ओपन-वेट मॉडल लागू करते हैं।

टूल लूप का पूरा वर्णन उसके अपने पेज पर है। फ़ंक्शन कॉलिंग

स्ट्रक्चर्ड आउटपुट

यह फ़ॉर्मेट स्ट्रक्चर्ड आउटपुट को text.format के रूप में लिखता है। स्कीमा सीधे format में, name और strict के बगल में रहता है, Chat Completions की तरह json_schema सदस्य के नीचे नहीं।

  • {"type": "json_object"} कोई भी JSON ऑब्जेक्ट माँगता है।
  • {"type": "json_schema", "name", "schema", "strict"} ऐसा JSON माँगता है जो आपके स्कीमा का पालन करे। छोड़ने पर strict true होता है।
POST /v1/responses
{
  "model": "shannon-1.6-lite",
  "input": "Extract the city and the date: 'The conference opens in Lisbon on 12 May 2027.'",
  "text": {
    "format": {
      "type": "json_schema",
      "name": "event",
      "strict": true,
      "schema": {
        "type": "object",
        "properties": {
          "city": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "description": "ISO 8601 date"
          }
        },
        "required": [
          "city",
          "date"
        ]
      }
    }
  }
}

JSON संदेश के output_text भाग में टेक्स्ट के रूप में आता है; उसे खुद पार्स करें। स्ट्रक्चर्ड आउटपुट के बिना होस्टेड ओपन-वेट मॉडल 400 लौटाता है।

output_text
{"city": "Lisbon", "date": "2027-05-12"}

कौन सा मॉडल कौन सा रूप लेता है, यह उसके अपने पेज पर सूचीबद्ध है। संरचित आउटपुट

रीज़निंग

रीज़निंग करने वाला मॉडल अपनी रीज़निंग प्रकार reasoning के आउटपुट आइटम के रूप में, संदेश से पहले लौटाता है। स्ट्रीम में यह response.reasoning_summary_text.delta इवेंट के रूप में आती है।

होस्टेड ओपन-वेट मॉडल reasoning.effort लागू करते हैं: off, low, medium या high, और कुछ न भेजने पर high। off कोई रीज़निंग आइटम नहीं लौटाता। इसे ऑब्जेक्ट के रूप में भेजें; इस endpoint पर सीधी स्ट्रिंग नहीं पढ़ी जाती।

effort का वर्णन उनके अपने पेज पर है। रीज़निंग effort

आउटपुट सीमा

न भेजने पर max_output_tokens 4,096 होता है। अनुरोध शुरू होते समय यही संख्या आपके बैलेंस से अलग रखी जाती है; उत्तर पूरा होने पर उस राशि की जगह वह आ जाता है जो अनुरोध ने इस्तेमाल किया। जो मान आपके बचे बैलेंस में नहीं समाता वह 429 Quota exceeded लौटाता है।

यह shannon-1.6-*, shannon-2-* और shannon-coder-1 पर उत्तर की लंबाई को सीमित करता है, और होस्टेड ओपन-वेट मॉडल पर उत्तर के टेक्स्ट की लंबाई को।

इस endpoint पर shannon-coder-1 का शुल्क आपके बैलेंस से टोकन में लगता है, हर दूसरे मॉडल की तरह।

अनुरोध की बॉडी 32 MiB तक हो सकती है। सीमाएँ और बैलेंस

एरर

एरर OpenAI की एरर बॉडी इस्तेमाल करते हैं: type और message वाला error ऑब्जेक्ट; कुछ में code और param भी होते हैं, जिनका मान null है। तालिका वह बताती है जो यह endpoint सबसे ज़्यादा लौटाता है। पूरी सूची, और क्या दोबारा आज़माना है, उसका अपना पेज है। त्रुटि प्रबंधन

स्टेटस प्रकार संदेश कब
401 authentication_error Missing authentication
Invalid API key
कोई API key नहीं भेजी गई, या key अज्ञात है या रद्द की जा चुकी है।
400 invalid_request_error unknown model: <id> model नहीं है या प्रकाशित id नहीं है।
400 invalid_request_error No user message provided. Shannon टियर: input में कोई यूज़र टेक्स्ट नहीं है।
400 invalid_request_error <id> does not accept image input इमेज इनपुट न लेने वाले होस्टेड ओपन-वेट मॉडल को इमेज भेजी गई।
400 invalid_request_error <id> does not accept response_format स्ट्रक्चर्ड आउटपुट के बिना होस्टेड ओपन-वेट मॉडल को text.format भेजा गया।
400 invalid_request_error unknown reasoning effort '<value>'; expected off, low, medium or high reasoning.effort में सूची से बाहर का मान है।
422 invalid_request_error Failed to deserialize the JSON body into the target type: … बॉडी वैध JSON है लेकिन किसी फ़ील्ड का प्रकार गलत है।
429 rate_limit_error Quota exceeded. Upgrade your plan at shannon-ai.com/plan max_output_tokens आपके बैलेंस के बचे हिस्से से बड़ा है।
429 rate_limit_error Too many requests. Retry in <n>s. Flood protection: आपके अकाउंट पर एक मिनट में 120 से अधिक अनुरोध।
500 api_error The model backend failed to answer. Please retry. मॉडल ने उत्तर नहीं बनाया। अनुरोध फिर भेजें।
502 api_error The model backend failed to answer. Please retry. वही, होस्टेड ओपन-वेट मॉडल पर।
504 api_error upstream timed out होस्टेड ओपन-वेट मॉडल को स्ट्रीम न किए गए उत्तर की समय-सीमा से ज़्यादा समय लगा। इसे stream को true पर सेट करके भेजें।