-
Notifications
You must be signed in to change notification settings - Fork 703
feat: improve support for the DashScope provider #1196
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
Conversation
…d `enable_search`, and can invoke a rerank model.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR adds excellent improvements to the DashScope provider by adding rerank functionality and enhancing the chat completion support. I've identified a few minor improvements that could make the code even better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove the rerank
changes, rest looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd recommend removing the rerank code because it wouldn't work out of the box, but rest of the PR is good to go!
Important PR Review SkippedPR review skipped as per the configuration setting. Run a manually review by commenting /matter review 💡Tips to use Matter AICommand List
|
Important PR Review SkippedPR review skipped as per the configuration setting. Run a manually review by commenting /matter review 💡Tips to use Matter AICommand List
|
Hi @narengogi, Apologies for the long delay on this. I got a bit sidetracked with some other work. I believe I've already responded to your comment about removing the I've now made the requested changes and moved the |
Important PR Review SkippedPR review skipped as per the configuration setting. Run a manually review by commenting /matter review 💡Tips to use Matter AICommand List
|
Important PR Review SkippedPR review skipped as per the configuration setting. Run a manually review by commenting /matter review 💡Tips to use Matter AICommand List
|
Description
This PR enhances the DashScope provider by adding support for new features documented in the official guide(zh,en).
Key Updates:
Support for new parameters, including
enable_search
andenable_thinking
.Integration of the rerank API.
Motivation
Type of Change
How Has This Been Tested?
Screenshots (if applicable)
Checklist
Related Issues