Bonn eolais Tá tús
Tá tús a SDKs
Anything that can talk to OpenAI or Anthropic can talk to Nymbot. In almost every case it is a base URL, a key and a model name.
Aistrítear an leathanach seo le meaisín mar áis. Is é an bunleagan Béarla an leagan a bhaineann leis.
13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). Físeán Tá sé
Fire keys13) Cumann Uaimheadóireachta na hÉireann
Tá sé list13) Cumann Uaimheadóireachta na hÉireann
anthropic/claude-sonnet-5 Tá pro equilibrium. nymbot/auto Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) capabilities.tools.
Setup for coding agents such as Claude Code, Codex, Cline, Kilo Code and Continue is on its own page: Tá tús coding.
Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
Tá sé SDK
The official Python and JavaScript libraries work unchanged. base_url at
Nymbot and pass your key. Chat Completions, Responses, images, audio and embeddings all work
through them.
cURL
curl https://nymbot.ai/api/v1/chat/completions \
-H "Authorization: Bearer $NYMBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "anthropic/claude-sonnet-5", "messages": [{"role": "user", "content": "Hello"}]}'
Python
# pip install openai
import os
from openai import OpenAI
client = OpenAI(base_url="https://nymbot.ai/api/v1", api_key=os.environ["NYMBOT_API_KEY"])
reply = client.chat.completions.create(
model="anthropic/claude-sonnet-5",
messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
JavaScript
// npm install openai
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://nymbot.ai/api/v1", apiKey: process.env.NYMBOT_API_KEY });
const reply = await client.chat.completions.create({
model: "anthropic/claude-sonnet-5",
messages: [{ role: "user", content: "Hello" }],
});
console.log(reply.choices[0].message.content);
Nymbot's own fields, such as plugins Tá tús á chur amárach le hobair extra_body
Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems nymbot Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems reply.model_extra["nymbot"] Tá Python a
reply.nymbot Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems OPENAI_BASE_URL
agus OPENAI_API_KEY environment variables can be pointed at Nymbot with those
alone.
Tá an Anthropic SDK
Tá tús á chur amárach le hobair athchóirithe atá beartaithe https://nymbot.ai/api Tá tús á chur amárach le hobair.
/v1Tá sé le add /v1/messages 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).
cURL
curl https://nymbot.ai/api/v1/messages \
-H "x-api-key: $NYMBOT_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{"model": "claude-sonnet-5", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello"}]}'
Python
# pip install anthropic
import os
import anthropic
client = anthropic.Anthropic(base_url="https://nymbot.ai/api", api_key=os.environ["NYMBOT_API_KEY"])
message = client.messages.create(
model="claude-sonnet-5",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello"}],
)
print(message.content[0].text)
JavaScript
// npm install @anthropic-ai/sdk
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({ baseURL: "https://nymbot.ai/api", apiKey: process.env.NYMBOT_API_KEY });
const message = await client.messages.create({
model: "claude-sonnet-5",
max_tokens: 1024,
messages: [{ role: "user", content: "Hello" }],
});
console.log(message.content[0].text);
Tá sé
13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).
openai/ 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).
Shell
export OPENAI_API_BASE=https://nymbot.ai/api/v1
export OPENAI_API_KEY=sk-nymbot-...
aider --model openai/anthropic/claude-sonnet-5
13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).
--no-show-model-warnings Tá sé le.
WEB WEB WEB WEB
WEB WEB WEB WEB WEB WEB WEB WEB WEB Tá tús PanelTá Tá séTá Tá tús13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).
- Tá tús:
https://nymbot.ai/api/v1 - Tá tús á chur amárach le hobair.
Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
OPENAI_API_BASE_URL agus OPENAI_API_KEY.
Open WebUI keeps your conversations on its own server. Nymbot does not store them, but Open WebUI does, wherever you run it.
Tá sé
Tá sé goose configureTá sé Tá sé config provider.Píí
Tá túsNó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú)
Shell
export GOOSE_PROVIDER=openai
export OPENAI_HOST=https://nymbot.ai/api
export OPENAI_BASE_PATH=v1/chat/completions
export OPENAI_API_KEY=sk-nymbot-...
export GOOSE_MODEL=anthropic/claude-sonnet-5
goose session
13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). capabilities.tools Tá tús á chur amárach le hobair. nymbot/auto Tá tús á chur amárach.
Tá sé HTTP
13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).
- Tá sé le key as
Authorization: Bearer sk-nymbot-…. - 13) Cumann Uaimheadóireachta na hÉireann
Content-Type: application/json. - 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).
-NNó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) - Tá sé á chur amárach le
X-Nymbot-Cost-SatsHeader, an tús á chur anX-Request-IdNó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú)
cURL
curl -i https://nymbot.ai/api/v1/chat/completions \
-H "Authorization: Bearer $NYMBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "nymbot/auto", "messages": [{"role": "user", "content": "Hello"}]}'
Python
import os
import requests
res = requests.post(
"https://nymbot.ai/api/v1/chat/completions",
headers={"Authorization": "Bearer " + os.environ["NYMBOT_API_KEY"]},
json={"model": "nymbot/auto", "messages": [{"role": "user", "content": "Hello"}]},
)
print(res.headers["X-Nymbot-Cost-Sats"], res.headers["X-Request-Id"])
print(res.json()["choices"][0]["message"]["content"])
JavaScript
const res = await fetch("https://nymbot.ai/api/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer " + process.env.NYMBOT_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({ model: "nymbot/auto", messages: [{ role: "user", content: "Hello" }] }),
});
console.log(res.headers.get("X-Nymbot-Cost-Sats"), res.headers.get("X-Request-Id"));
console.log((await res.json()).choices[0].message.content);