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

[erniebot] Add new qianfan models, Add response_format argument #349

Merged
merged 3 commits into from
May 31, 2024

Conversation

sijunhe
Copy link
Collaborator

@sijunhe sijunhe commented May 31, 2024

No description provided.

@sijunhe sijunhe requested a review from wj-Mcat May 31, 2024 08:13
Copy link

paddle-bot bot commented May 31, 2024

Thanks for your contribution!

stream=False,
response_format="json_object",
)
print(response.get_result())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里是不是要判断下,result 为 valid json 呢?

Copy link
Collaborator

@wj-Mcat wj-Mcat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sijunhe sijunhe merged commit 39f0a38 into PaddlePaddle:develop May 31, 2024
4 of 5 checks passed
@sijunhe sijunhe deleted the response_format branch May 31, 2024 08:26
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

Successfully merging this pull request may close these issues.

2 participants