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

openai和claude的参数兼容 #1239

Closed
5 tasks done
ye4293 opened this issue Mar 28, 2024 · 2 comments
Closed
5 tasks done

openai和claude的参数兼容 #1239

ye4293 opened this issue Mar 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ye4293
Copy link
Collaborator

ye4293 commented Mar 28, 2024

例行检查

  • 我已确认目前没有类似 issue
  • 我已确认我已升级到最新版本
  • 我已完整查看过项目 README,尤其是常见问题部分
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述
在claude中还保留了参数
image
但是opeani中确实只有topp了,应该修改下textrequest,使得可以兼容claude的topk
复现步骤

预期结果

相关截图
如果没有的话,请删除此节。

@ye4293 ye4293 added the bug Something isn't working label Mar 28, 2024
@ye4293
Copy link
Collaborator Author

ye4293 commented Mar 28, 2024

image
这是现有的textrequest结构

@xuyang-stack
Copy link

请问 客户端调用openai 的接口,怎么传入topk ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants