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: add youdao translate function #315

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

Yeaury
Copy link
Contributor

@Yeaury Yeaury commented Dec 25, 2024

Describe what this PR does / why we need it

Youdao Translation's API calls implement the translation service

Does this pull request fix one issue?

#98 #247

Describe how you did it

Describe how to verify it

Special notes for reviews

@Configuration
@ConditionalOnClass(YoudaoTranslateService.class)
@EnableConfigurationProperties(YoudaoTranslateProperties.class)
@ConditionalOnProperty(prefix = "spring.ai.alibaba.functioncalling.youdao", name = "enabled", havingValue = "true")
Copy link
Contributor

Choose a reason for hiding this comment

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

这里命名需要调整为youdaotranslate 对标 microsofttranslate

/**
* @author Yeaury
*/
@ConfigurationProperties(prefix = "spring.ai.alibaba.functioncalling.youdao")
Copy link
Contributor

Choose a reason for hiding this comment

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

同上

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