Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embeddings接口能否支持数组,我看官方文档是支持数组的 #23

Closed
hangyi24579 opened this issue May 18, 2023 · 4 comments

Comments

@hangyi24579
Copy link

embeddings能否支持数组,我看官方文档是支持数组的

@gulihua10010
Copy link
Owner

你说的是请求的 input 参数吗

@hangyi24579
Copy link
Author

你说的是请求的输入 参数吗

@hangyi24579
Copy link
Author

输入文本以获取嵌入,编码为字符串或标记数组。要在单个请求中获取多个输入的嵌入,请传递一个字符串数组或令牌数组数组。每个输入的长度不得超过 8192 个标记。

文档上是这样写的

@gulihua10010
Copy link
Owner

已经提交修复 (v1.0.12 )
同步到中央仓库可能会有延迟

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants