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

The return result of the Feishu document creation tool includes a field named json, which seems like a strange name. 飞书文档创建工具的返回结果中有 json这个字段,这样的名字很奇怪 #12873

Closed
5 tasks done
dshwei opened this issue Jan 20, 2025 · 1 comment

Comments

@dshwei
Copy link

dshwei commented Jan 20, 2025

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.11.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

{
"text": "",
"files": [],
"json": [
{
"type": "docx",
"token": "ElVFdevjZowYY9xq3uqcV9jLnTf",
"title": "碳排查报告",
"url": "https://lxr5123213q.feishu.cn/docx/ElVFdevjZowYY9xq3uqcV9jLnTf"
}
]
}

This field named json cannot be accessed in subsequent nodes. Only the text and files fields can be retrieved.

✔️ Expected Behavior

It is rare and almost unheard of to use json as the name of a dictionary. This name can be renamed to results for better clarity and alignment with common practices.

❌ Actual Behavior

Image

This field named json cannot be accessed in subsequent nodes. Only the text and files fields can be retrieved.

@dshwei
Copy link
Author

dshwei commented Jan 21, 2025

why closed , 其实这个需要一个模版转换的节点才可以

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