large-models-interface
Version:
A comprehensive, unified interface for all types of AI models - natural language, vision, audio, and video. Supports 51 providers with dynamic model discovery and multi-modal capabilities.
28 lines (27 loc) • 811 B
JSON
{
"url": "https://api.siliconflow.cn/v1/chat/completions",
"model": {
"default": "Qwen/Qwen2-7B-Instruct",
"large": "Qwen/Qwen2-72B-Instruct",
"small": "Qwen/Qwen2-1.5B-Instruct",
"agent": "Qwen/Qwen2-7B-Instruct"
},
"embeddingUrl": "https://api.siliconflow.cn/v1/embeddings",
"embeddings": {
"expects": {
"input": "{embedding}",
"model": "{model}"
},
"results": "response.data.data[0].embedding",
"default": "BAAI/bge-base-en-v1.5",
"large": "BAAI/bge-large-en-v1.5",
"small": "BAAI/bge-small-en-v1.5"
},
"createMessageObject": "getMessageObject",
"stream": true,
"jsonMode": false,
"maxTokens": true,
"hasEmbeddings": true,
"modelsEndpoint": "https://api.siliconflow.cn/v1/models",
"modelsFile": "./data/models/siliconflow.json"
}