SHANNON A.I. లోగో
SHANNONA.I.
చాట్ధరAPIపరిశోధనకంపెనీPentest AIStartup Boost

Shannon ఇంటర్‌ఫేస్ లోడ్ అవుతోంది...

స్టేటస్ చెక్ చేస్తోంది...
API డాక్యుమెంటేషన్

Shannon API

Function calling, web search, structured outputs తో OpenAI మరియు Anthropic compatible AI API.

మీ API కీ పొందండిPlayground ని ప్రయత్నించండిV2
డాక్యుమెంటేషన్
  • అవలోకనం
  • సామర్థ్యాలు
  • త్వరిత ప్రారంభం
  • API Playgroundకొత్త
  • ఆథెంటికేషన్
  • మోడల్స్
  • ఫంక్షన్ కాలింగ్
  • నిర్మిత అవుట్‌పుట్‌లు
  • స్ట్రీమింగ్
  • వెబ్ శోధన
  • Anthropic ఫార్మాట్
  • SDKలు
  • ఎరర్ హ్యాండ్లింగ్
  • మార్పుల జాబితా

Shannon AI API Documentation

అవలోకనం

పబ్లిక్ డాక్స్

Shannon యొక్క OpenAI మరియు Anthropic compatible API తో ప్రారంభించడానికి అవసరమైన అన్నీ.

URLOpenAI-Compatible
https://us-central1-shannonai.cloudfunctions.net/v1/chat/completions

Chat Completions API ని function calling మరియు streaming తో ఉపయోగించండి.

URLAnthropic-Compatible
https://us-central1-shannonai.cloudfunctions.net/v1/messages

Claude Messages ఫార్మాట్, టూల్స్ మరియు anthropic-version హెడ్డర్‌తో.

HTTPఆథెంటికేషన్
Authorization: Bearer <api-key>

లేదా Claude style calls కోసం X-API-Key + anthropic-version.

యాక్సెస్స్థితి
పబ్లిక్ డాక్స్ - కాల్ చేయడానికి కీ అవసరం

స్ట్రీమింగ్, function calling, structured outputs, web search.

లాంచ్ చెక్లిస్ట్
  • ✓
    మీ SDK ను Shannon కు సూచించండి
    baseURL ని పై OpenAI లేదా Anthropic endpoints కు సెట్ చేయండి.
    సెట్‌అప్
  • ✓
    మీ API కీ ని జత చేయండి
    OpenAI calls కోసం Bearer tokens లేదా X-API-Key + anthropic-version ఉపయోగించండి.
    సెక్యూరిటీ
  • ✓
    టూల్స్ & structured outputs ను ఎనేబుల్ చేయండి
    OpenAI tools/functions, JSON schema మరియు built-in web_search ను సపోర్ట్ చేస్తుంది.
    సామర్థ్యాలు
  • ✓
    వాడకాన్ని ట్రాక్ చేయండి
    సైన్ ఇన్ అయినప్పుడు టోకెన్ మరియు సెర్చ్ వినియోగాన్ని ఈ పేజీలో చూడండి.
    అనలిటిక్స్

సామర్థ్యాలు

OpenAI + Anthropic

OpenAI మరియు Anthropic APIలకు drop-in replacement; టూల్స్, structured outputs, built-in web search సపోర్ట్.

Drop-in Replacement

Compatible

OpenAI మరియు Anthropic SDKలతో పని చేస్తుంది. Base URL మార్చితే చాలు.

ఫంక్షన్ కాలింగ్

Tools

టూల్స్ ని నిర్వచించి Shannon వాటిని కాల్ చేయనివ్వండి. auto, forced, none మోడ్‌లు సపోర్ట్ చేయబడతాయి.

వెబ్ శోధన

వెతకండి

సోర్స్ citations తో రియల్‌టైమ్ వెబ్ సెర్చ్. ఆటోమేటిక్‌గా అందుబాటులో ఉంటుంది.

నిర్మిత అవుట్‌పుట్‌లు

JSON

నమ్మదగిన డేటా ఎక్స్‌ట్రాక్షన్ కోసం JSON mode మరియు JSON Schema enforce.

Multi-turn Tools

Agentic

ఆటోమేటిక్ ఫంక్షన్ ఎగ్జిక్యూషన్ లూప్స్. ప్రతి రిక్వెస్ట్‌కు 10 iterations వరకు.

స్ట్రీమింగ్

Fast

Real-time token streaming కోసం Server-sent events.

త్వరిత ప్రారంభం

5 నిమిషాలు

మూడు దశల్లో ప్రారంభించండి. Shannon OpenAI మరియు Anthropic క్లయింట్స్‌ను ప్రతిబింబిస్తుంది.

1

Base URL సెట్ చేయండి

OpenAI-compatible endpoint ఉపయోగించండి.

https://us-central1-shannonai.cloudfunctions.net/v1/chat/completions
2

API కీని జోడించండి

Authorization హెడ్డర్‌లో Bearer auth వాడండి.

3

మీ మొదటి సందేశం పంపండి

ఒక భాషను ఎంచుకొని మీ కీని మార్చండి.

Python
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://us-central1-shannonai.cloudfunctions.net/v1"
)
response = client.chat.completions.create(
model="shannon-balanced-grpo",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello, Shannon!"}
],
max_tokens=1024
)
print(response.choices[0].message.content)

Response format

Success Response
{
  "id": "chatcmpl-abc123",
  "object": "chat.completion",
  "created": 1234567890,
  "model": "shannon-balanced-grpo",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! I'm Shannon, your AI assistant. How can I help you today?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 25,
    "completion_tokens": 18,
    "total_tokens": 43
  }
}

API Playground

కొత్త

Shannon API ని మీ బ్రౌజర్‌లో నేరుగా పరీక్షించండి. రిక్వెస్ట్ నిర్మించి, రన్ చేసి, రియల్‌టైమ్ రెస్పాన్స్ చూడండి.

Claude-style API studio

One polished workbench for every public endpoint.

Switch between Chat Completions, Responses, and Messages without changing pages. The request body, auth header, stream parser, and SDK snippets all follow the selected protocol.

Endpoints3
ThemeCrail / Pampas
Latest response IDNot captured yet
Composer

Chat Completions

Live response

/v1/chat/completions

Chat Completions Idle 0 SSE events No reasoning block
response_idWaiting for a response...
Ready to test.

Pick an endpoint, shape the payload, and run the request to inspect the live output.

0
SDK snippets

Keep the request, headers, and client syntax aligned with the selected endpoint.

JSON
{
"model": "shannon-balanced-grpo",
"messages": [
{
"role": "system",
"content": "You are Shannon. Answer crisply, commercially, and with strong structure."
},
{
"role": "user",
"content": "Outline a clean launch plan for a new AI API aimed at startup founders."
}
],
"max_tokens": 1024,
"temperature": 0.7,
"stream": true
}

ఆథెంటికేషన్

ప్రతి API రిక్వెస్ట్‌కు మీ Shannon API కీ ద్వారా ఆథెంటికేషన్ అవసరం.

OpenAI ఫార్మాట్ (సిఫార్సు)

HTTP
Authorization: Bearer YOUR_API_KEY

Anthropic ఫార్మాట్

HTTP
X-API-Key: YOUR_API_KEY
anthropic-version: 2023-06-01

మోడల్స్

Shannon వేర్వేరు ఉపయోగాల కోసం ఆప్టిమైజ్ చేసిన ఎన్నో మోడల్స్‌ను అందిస్తుంది.

shannon-balanced-grpoBalanced

దైనందిన పనుల కోసం వేగవంతమైన, సమర్థవంతమైన ప్రతిస్పందనలు

సందర్భం128K
భద్రతా నిపుణుల కోసం నిర్మించబడిందిచాట్, ప్రశ్న-సమాధానం, కంటెంట్ జెనరేషన్
shannon-deep-dapoDeep

సంక్లిష్ట సమస్యలకు అడ్వాన్స్‌డ్ రీజనింగ్

సందర్భం128K
భద్రతా నిపుణుల కోసం నిర్మించబడిందివిశ్లేషణ, పరిశోధన, సంక్లిష్ట పనులు
shannon-coder-1Coder

Claude Code CLI కోసం కాల్-ఆధారిత కోటాతో ఆప్టిమైజ్ చేయబడింది

సందర్భం128K
భద్రతా నిపుణుల కోసం నిర్మించబడిందికోడ్ జనరేషన్, టూల్ యూజ్, CLI ఇంటిగ్రేషన్
Call-based quota

ఫంక్షన్ కాలింగ్

Shannon చేయగల చర్యలు లేదా సమాచారం తెచ్చేందుకు టూల్స్‌ని నిర్వచించండి.

Python
from openai import OpenAI
import json
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://us-central1-shannonai.cloudfunctions.net/v1"
)
# Define available tools/functions
tools = [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name, e.g., 'Tokyo'"
},
"unit": {
"type": "string",
"enum": ["celsius", "fahrenheit"]
}
},
"required": ["location"]
}
}
}
]
response = client.chat.completions.create(
model="shannon-balanced-grpo",
messages=[{"role": "user", "content": "What's the weather in Tokyo?"}],
tools=tools,
tool_choice="auto"
)
# Check if model wants to call a function
if response.choices[0].message.tool_calls:
tool_call = response.choices[0].message.tool_calls[0]
print(f"Function: {tool_call.function.name}")
print(f"Arguments: {tool_call.function.arguments}")

ఫంక్షన్ కాలింగ్

"auto"మోడల్ ఫంక్షన్‌ను కాల్ చేయాలా లేదా నిర్ణయిస్తుంది (డిఫాల్ట్)
"none"ఈ రిక్వెస్ట్ కోసం function calling ని నిలిపివేయండి
{"type": "function", "function": {"name": "..."}}ఒక నిర్దిష్ట ఫంక్షన్ కాల్‌ను బలవంతం చేయండి

Response format

మోడల్ ఫంక్షన్‌ను కాల్ చేసినప్పుడు
{
  "id": "chatcmpl-xyz",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": null,
        "tool_calls": [
          {
            "id": "call_abc123",
            "type": "function",
            "function": {
              "name": "get_weather",
              "arguments": "{\"location\": \"Tokyo\", \"unit\": \"celsius\"}"
            }
          }
        ]
      },
      "finish_reason": "tool_calls"
    }
  ]
}

నిర్మిత అవుట్‌పుట్‌లు

మీ schema కు సరిపోయే valid JSON ను Shannon నుండి పొందడానికి బలవంతం చేయండి.

Python
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://us-central1-shannonai.cloudfunctions.net/v1"
)
# Force JSON output with schema
response = client.chat.completions.create(
model="shannon-balanced-grpo",
messages=[
{"role": "user", "content": "Extract: John Doe, 30 years old, engineer"}
],
response_format={
"type": "json_schema",
"json_schema": {
"name": "person_info",
"schema": {
"type": "object",
"properties": {
"name": {"type": "string"},
"age": {"type": "integer"},
"occupation": {"type": "string"}
},
"required": ["name", "age", "occupation"]
}
}
}
)
import json
data = json.loads(response.choices[0].message.content)
print(data) # {"name": "John Doe", "age": 30, "occupation": "engineer"}

Response format

{"type": "json_object"}valid JSON output ను బలవంతం చేయండి (specific schema లేకుండా)
{"type": "json_schema", "json_schema": {...}}మీ schema కు సరిపోయే output ను బలవంతం చేయండి

స్ట్రీమింగ్

Server-Sent Events తో రియల్-టైమ్ టోకెన్ స్ట్రీమింగ్‌ను ఎనేబుల్ చేయండి.

Python
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://us-central1-shannonai.cloudfunctions.net/v1"
)
# Enable streaming for real-time responses
stream = client.chat.completions.create(
model="shannon-balanced-grpo",
messages=[
{"role": "user", "content": "Write a short poem about AI"}
],
stream=True
)
for chunk in stream:
if chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)
సూచన: స్ట్రీమింగ్ రెస్పాన్స్‌లు Server-Sent Events రూపంలో వస్తాయి. ప్రతి చంక్‌లో భాగస్వామ్య కంటెంట్ ఉన్న delta ఉంటుంది.

వెబ్ శోధన

Shannon లో ఆటోమేటిక్‌గా అందుబాటులో ఉండే web_search ఫంక్షన్ ఉంటుంది.

Python
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://us-central1-shannonai.cloudfunctions.net/v1"
)
# Web search is automatically available!
# Shannon will use it when needed for current information
response = client.chat.completions.create(
model="shannon-balanced-grpo",
messages=[
{"role": "user", "content": "What are the latest AI news today?"}
],
# Optionally, explicitly define web_search tool
tools=[{
"type": "function",
"function": {
"name": "web_search",
"description": "Search the web for current information",
"parameters": {
"type": "object",
"properties": {
"query": {"type": "string", "description": "Search query"}
},
"required": ["query"]
}
}
}]
)
print(response.choices[0].message.content)
# Response includes sources and citations
Soochana: వెబ్ సెర్చ్ ఫలితాల్లో citations ఉంటాయి. Shannon స్వయంచాలకంగా మూలాలను పేర్కొంటుంది.

Anthropic ఫార్మాట్

Shannon Anthropic Messages API ఫార్మాట్‌ను కూడా సపోర్ట్ చేస్తుంది.

https://us-central1-shannonai.cloudfunctions.net/v1/messages
Python
import anthropic
client = anthropic.Anthropic(
api_key="YOUR_API_KEY",
base_url="https://us-central1-shannonai.cloudfunctions.net/messages"
)
response = client.messages.create(
model="shannon-balanced-grpo",
max_tokens=1024,
messages=[
{"role": "user", "content": "Hello, Shannon!"}
],
# Tool use (Anthropic format)
tools=[{
"name": "web_search",
"description": "Search the web",
"input_schema": {
"type": "object",
"properties": {
"query": {"type": "string"}
},
"required": ["query"]
}
}]
)
print(response.content[0].text)
Required: Anthropic ఫార్మాట్‌కు anthropic-version: 2023-06-01 అవసరం.

SDKలు

Compatible

ఏ OpenAI లేదా Anthropic SDK అయినా వాడండి — base URL ని మాత్రమే మార్చండి.

OpenAI-Compatible SDKs

Python

Official OpenAI Python SDK — Shannon తో పనిచేస్తుంది

pip install openai
డాక్యుమెంటేషన్ చూడండి
JavaScript / TypeScript

Official OpenAI Node.js SDK — Shannon తో పనిచేస్తుంది

npm install openai
డాక్యుమెంటేషన్ చూడండి
Go

OpenAI-compatible API ల కోసం కమ్యూనిటీ Go క్లయింట్

go get github.com/sashabaranov/go-openai
డాక్యుమెంటేషన్ చూడండి
Ruby

OpenAI-compatible API ల కోసం కమ్యూనిటీ Ruby క్లయింట్

gem install ruby-openai
డాక్యుమెంటేషన్ చూడండి
PHP

OpenAI-compatible API ల కోసం కమ్యూనిటీ PHP క్లయింట్

composer require openai-php/client
డాక్యుమెంటేషన్ చూడండి
Rust

OpenAI-compatible API ల కోసం Async Rust క్లయింట్

cargo add async-openai
డాక్యుమెంటేషన్ చూడండి

Anthropic-Compatible SDKs

Python (Anthropic)

Official Anthropic Python SDK — Shannon తో పనిచేస్తుంది

pip install anthropic
డాక్యుమెంటేషన్ చూడండి
TypeScript (Anthropic)

Official Anthropic TypeScript SDK — Shannon తో పనిచేస్తుంది

npm install @anthropic-ai/sdk
డాక్యుమెంటేషన్ చూడండి

ఎరర్ హ్యాండ్లింగ్

Shannon స్టాండర్డ్ HTTP status codes ఉపయోగించి వివరమైన ఎరర్ మెసేజ్‌లు ఇవ్వుతుంది.

400Bad Requestరిక్వెస్ట్ ఫార్మాట్ లేదా పరామితులు తప్పు
401UnauthorizedAPI కీ తప్పు లేదా లేదు
402Quota Exceededటోకెన్ లేదా సెర్చ్ కోటా మించిపోయింది
429Rate Limitedచాలా రిక్వెస్టులు, నెమ్మదించండి
500Server Errorఅంతర్గత లోపం, తరువాత ప్రయత్నించండి

Error Response Format

Error Response
{
  "error": {
    "message": "Invalid API key provided",
    "type": "authentication_error",
    "code": "invalid_api_key"
  }
}

మార్పుల జాబితా

Shannon API కు సంబంధించిన తాజా అప్డేట్లు మరియు మెరుగుదలలు.

v2.1.0
2025-01-03
  • కొత్తClaude Code CLI ఇంటిగ్రేషన్ కోసం shannon-coder-1 మోడల్ జోడించబడింది
  • కొత్తCoder మోడల్ కోసం call-based quota సిస్టమ్
  • మెరుగుపడిందిFunction calling నమ్మకత మెరుగుపడింది
v2.0.0
2024-12-15
  • కొత్తAnthropic Messages API అనుకూలత జోడించబడింది
  • కొత్తMulti-turn tool execution (10 iterations వరకు)
  • కొత్తJSON Schema response format సపోర్ట్
  • మెరుగుపడిందిమెరుగైన citations తో web search
v1.5.0
2024-11-20
  • కొత్తసంక్లిష్ట reasoning కోసం shannon-deep-dapo మోడల్ జోడించబడింది
  • కొత్తBuilt-in web_search ఫంక్షన్
  • మెరుగుపడిందిStreaming responses కోసం latency తగ్గింది
v1.0.0
2024-10-01
  • కొత్తప్రారంభ API రిలీజ్
  • కొత్తOpenAI-compatible chat completions endpoint
  • కొత్తFunction calling సపోర్ట్
  • కొత్తServer-Sent Events ద్వారా streaming

బిల్డ్ చేయడానికి సిద్ధమా?

మీ API కీ పొందండి మరియు Shannon AI తో ఇవాళే ప్రారంభించండి.

API కీ పొందండిPricing చూడండి