cURL
curl --request POST \ --url http://localhost:5300/api/v1/provider/models/embedding \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "text-embedding-3-small", "provider_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "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.
"text-embedding-3-small"
创建成功
0
Show child attributes