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

deepseek 思考过程输出 #30

Open
limingzeGG opened this issue Feb 25, 2025 · 1 comment
Open

deepseek 思考过程输出 #30

limingzeGG opened this issue Feb 25, 2025 · 1 comment

Comments

@limingzeGG
Copy link

在使用open-ai 的方式 调用 deepseek 时,是否支持输出“思考过程”,如果支持,麻烦提供一下示例代码或者告诉我怎么做,非常感谢!

@meguminnnnnnnnn
Copy link
Contributor

openai封装暂时不支持,可以使用deepseek封装,拿到返回消息后用GetReasoningContent方法获取
https://github.com/cloudwego/eino-ext/blob/6387ca146aaa552aebb0a2e3c6cc8e20133d66db/components/model/deepseek/extra.go#L53C6-L53C25

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

No branches or pull requests

2 participants