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

feat: update Spring AI dependency to 1.0.0-M3 #57

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

Cirilla-zmh
Copy link
Contributor

Describe what this PR does / why we need it

Update Spring AI dependency to 1.0.0-M3 and refactor the expired implementations of some components.

Does this pull request fix one issue?

NONE

Describe how you did it

  1. Update dependency in pom.xml.
  2. Replace the implementation interfaces of DocumentRetrievalAdvisor, RetrievalRerankAdvisor, and DashScopeDocumentRetrievalAdvisor with CallAroundAdvisor and StreamAroundAdvisor to substitute the deprecated RequestResponseAdvisor.
  3. Replace the Float fields in ModelOptions with Double, according to related issue.

@CLAassistant
Copy link

CLAassistant commented Oct 12, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@chickenlj chickenlj left a comment

Choose a reason for hiding this comment

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

LGTM.

@chickenlj chickenlj merged commit bb0dca3 into alibaba:main Oct 14, 2024
2 checks passed
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.

4 participants