cURL
curl --request POST \ --url http://localhost:5300/api/v1/provider/models/llm \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "gpt-4o", "provider_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "abilities": [ "chat", "vision" ], "extra_args": {}, "prefered_ranking": 0 } '
{ "code": 0, "data": { "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } }
创建一个新的大语言模型。模型必须关联到一个已存在的供应商。
Documentation IndexFetch the complete documentation index at: https://docs.langbot.app/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.langbot.app/llms.txt
Use this file to discover all available pages before exploring further.
模型名称(即模型 ID)
"gpt-4o"
关联的供应商 UUID
["chat", "vision"]
创建成功
0
Show child attributes