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

API调用工作流如何传入文件 #122

Open
Dockkkkkkkkk opened this issue Nov 30, 2024 · 5 comments
Open

API调用工作流如何传入文件 #122

Dockkkkkkkkk opened this issue Nov 30, 2024 · 5 comments

Comments

@Dockkkkkkkkk
Copy link

工作流入参有文件,如何通过API调用?似乎不能使用file_id,我能从哪里获得文件的url

@chyroc
Copy link
Collaborator

chyroc commented Dec 2, 2024

目前仅支持用户将文件保存在其他云服务,直接传入 url 来使用。

这个问题我们已经关注到,正在解决中。

@will-bug
Copy link

同样遇到了这个问题, 请问目前解决了嘛

@chyroc
Copy link
Collaborator

chyroc commented Dec 26, 2024

目前可以创建一个对话流,支持以 file.id 的方式调用,参考 workflows.chat.stream 函数

@will-bug
Copy link

我应该如何传入 file.id 这个参数呢, 可以给出一个示例吗

谢谢~

@chyroc
Copy link
Collaborator

chyroc commented Dec 29, 2024

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

3 participants