- OpenAI Python
- OpenAI Node.js
- Anthropic Python
开始使用
SDK 配置
配置 OpenAI、Anthropic 和 Gemini SDK
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
配置 OpenAI、Anthropic 和 Gemini SDK
from openai import OpenAI
client = OpenAI(base_url="https://api.bianxie.ai/v1", api_key="API_KEY")
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.bianxie.ai/v1", apiKey: process.env.BIANXIE_API_KEY });
from anthropic import Anthropic
client = Anthropic(base_url="https://api.bianxie.ai", api_key="API_KEY")
