ବିଷୟବସ୍ତୁକୁ ଯାଆନ୍ତୁ |
Back to Nymbot

ଜ୍ଞାନ ଆଧାର ପଢନ୍ତୁ

ଉପକରଣ ଏବଂ 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.

ନିମ୍ନରେ ଥିବା ପ୍ରତ୍ଯ଼େକ ସେଟଅପ୍ ପାଇଁ ଏକ ଏ. ପି. ଆଇ. କି ଦରକାର, ଯାହା ଆପ୍ରେ ତିଆରି ହୋଇଥାଏ। ପଢନ୍ତୁ ପଢନ୍ତୁ - Menus Straight କାମ ଦେଉନି ସଚେତନତା(ସ୍ତ୍ରୀ) ଲକ୍ଷ୍ମୀ ନାମ୍ନୀ ସ୍ତ୍ରୀର ଡାକ ନାମ —A name for calling a woman named Lakshmī ପଢନ୍ତୁ Model ListStraight to the Point କାମ ଦେଉନି ସଚେତନତା anthropic/claude-sonnet-5 ପ୍ରୋ ବାଲାନ୍ସ ଉପରେ। nymbot/auto କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions! capabilities.tools.

କ୍ଲଡ୍ କୋଡ୍, କୋଡେକ୍ସ, କ୍ଲାଇନ୍, କିଲୋ କୋଡ୍ ଏବଂ କଣ୍ଟିନ୍ଯ଼ୁ ଭଳି କୋଡିଂ ଏଜେଣ୍ଟମାନଙ୍କ ପାଇଁ ସେଟ୍ଅପ୍ ଏହାର ନିଜସ୍ୱ ପୃଷ୍ଠାରେ ରହିଛିଃ INSTRUMENTS ଆବଶ୍ୟକ ସାମଗ୍ରୀ.

କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.

କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!

କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.

କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. 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 WEB WEB WEB WEB WEB WEB WEB WEB WEB WEB WEB WEB extra_body କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. nymbot ପ୍ରତିକ୍ରିଯ଼ାରେ ମୂଲ୍ଯ଼ ବସ୍ତୁ ହେଉଛି reply.model_extra["nymbot"] କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. reply.nymbot କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions OPENAI_BASE_URL ଏବଂ OPENAI_API_KEY environment variables can be pointed at Nymbot with those alone.

Straight to the Point କାମ ଦେଉଛନ୍ତି କି ?

Straight to the Point କାମ ଦେଉନି ସଚେତନତା https://nymbot.ai/api କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. /v1କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. /v1/messages କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!

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);

ସାହାଯ୍ଯ଼କାରୀ।

କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions! openai/ କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.

Shell

export OPENAI_API_BASE=https://nymbot.ai/api/v1
export OPENAI_API_KEY=sk-nymbot-...
aider --model openai/anthropic/claude-sonnet-5

ସହାଯ଼କ ଚେତାବନୀ ଦେଇପାରେ ଯେ ଏହା ମଡେଲର ପ୍ରସଙ୍ଗ ଆକାର କିମ୍ବା ମୂଲ୍ଯ଼ ଜାଣେ ନାହିଁ। ଚେତାବନୀଟି କ୍ଷତିକାରକ ନୁହେଁ; --no-show-model-warnings ପଢନ୍ତୁ ।

ୱେବଯ଼ୁଆଇ ଖୋଲନ୍ତୁ

ଓପନ ୱେବଯ଼ୁଆଇରେ, ଖୋଲନ୍ତୁ ପଢନ୍ତୁ Panelପଢନ୍ତୁ ବିନ୍ଯ଼ାସଗୁଡ଼ିକପଢନ୍ତୁ ସଂଯୋଗଗୁଡ଼ିକକିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.

  • ପଢନ୍ତୁ : https://nymbot.ai/api/v1
  • ଚାବିଃ ଆପଣଙ୍କର ଏ. ପି. ଆଇ. ଚାବି

କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions! OPENAI_API_BASE_URL ଏବଂ 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.

ପଢନ୍ତୁ

ଦୌଡ଼ିବା goose configureପଢନ୍ତୁ Straight to the Point କାମ ଦେଉନି ସଚେତନତାପଢନ୍ତୁ ପଢନ୍ତୁକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions

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

କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions capabilities.tools କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. nymbot/auto ଉପକରଣଗୁଡ଼ିକୁ ପ୍ରତ୍ଯ଼ାଖ୍ଯ଼ାନ କରନ୍ତି।

ପଢନ୍ତୁ HTTP

କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!

  • Straight to the Point କାମ ଦେଉନି ସଚେତନତା Authorization: Bearer sk-nymbot-….
  • ଏହା ସହିତ ଜେ. ଏସ୍. ଓ. ଏନ୍. ସଂସ୍ଥାଗୁଡ଼ିକୁ ପଠାନ୍ତୁ Content-Type: application/json.
  • କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions! -N ସେ କହନ୍ତି, “ଏହା ଆମ ଟୋଡ଼ା ମହିଳାମାନଙ୍କ ପାଇଁ ଚିନ୍ତାର ବିଷୟ !
  • Straight to the Point କାମ ଦେଉନି ସଚେତନତା X-Nymbot-Cost-Sats Straight to the Point କାମ ଦେଉନି ସଚେତନତା X-Request-Id କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions

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);