channeltype

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Unknown = iota
	OpenAI
	API2D
	AzureAI
	CloseAI
	OpenAISB
	OpenAIMax
	OhMyGPT
	Custom
	Ails
	AIProxy
	PaLM
	API2GPT
	AIGC2D
	Anthropic
	Baidu
	Zhipu
	Ali
	Xunfei
	AI360
	OpenRouter
	AIProxyLibrary
	FastGPT
	Tencent
	Gemini
	Moonshot
	Baichuan
	Minimax
	Mistral
	Groq
	Ollama
	LingYiWanWu
	StepFun
	AwsClaude
	Coze
	Cohere
	DeepSeek
	Cloudflare
	DeepL
	TogetherAI
	Doubao
	Novita
	VertextAI
	Proxy
	SiliconFlow
	XAI
	Replicate
	Dummy
	AzureOpenAI
)

Variables

View Source
var ChannelBaseURLs = []string{
	"",
	"https://api.openai.com",
	"https://oa.api2d.net",
	"",
	"https://api.closeai-proxy.xyz",
	"https://api.openai-sb.com",
	"https://api.openaimax.com",
	"https://api.ohmygpt.com",
	"",
	"https://api.caipacity.com",
	"https://api.aiproxy.io",
	"https://generativelanguage.googleapis.com",
	"https://api.api2gpt.com",
	"https://api.aigc2d.com",
	"https://api.anthropic.com",
	"https://aip.baidubce.com",
	"https://open.bigmodel.cn",
	"https://dashscope.aliyuncs.com",
	"",
	"https://ai.360.cn",
	"https://openrouter.ai/api",
	"https://api.aiproxy.io",
	"https://fastgpt.run/api/openapi",
	"https://hunyuan.tencentcloudapi.com",
	"https://generativelanguage.googleapis.com",
	"https://api.moonshot.cn",
	"https://api.baichuan-ai.com",
	"https://api.minimax.chat",
	"https://api.mistral.ai",
	"https://api.groq.com/openai",
	"http://localhost:11434",
	"https://api.lingyiwanwu.com",
	"https://api.stepfun.com",
	"",
	"https://api.coze.com",
	"https://api.cohere.ai",
	"https://api.deepseek.com",
	"https://api.cloudflare.com",
	"https://api-free.deepl.com",
	"https://api.together.xyz",
	"https://ark.cn-beijing.volces.com",
	"https://api.novita.ai/v3/openai",
	"",
	"",
	"https://api.siliconflow.cn",
	"https://api.x.ai",
	"https://api.replicate.com/v1/models/",
}

Functions

func ToAPIType

func ToAPIType(channelType int) int

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL