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

example: multi model example is not running #321

Open
lanyanhua opened this issue Dec 26, 2024 · 1 comment
Open

example: multi model example is not running #321

lanyanhua opened this issue Dec 26, 2024 · 1 comment
Labels
area/example Spring AI Alibaba Examples

Comments

@lanyanhua
Copy link

我的URL没有问题 用的是官方样例的URL
new Media(
MimeTypeUtils.IMAGE_PNG,
new URI("https://dashscope.oss-cn-beijing.aliyuncs.com/images/dog_and_girl.jpeg").toURL()
)
实际的报错原因是:正确使用多模态模型:qwen-vl-max-latest。且开启multi-model: true。感觉配置有点多余。而且这报错和实际错误相差太远了
ai: # 阿里灵积 dash-scope: api-key: *** chat: options: model: qwen-vl-max-latest multi-model: true

@yuluo-yx yuluo-yx added the area/example Spring AI Alibaba Examples label Jan 6, 2025
@yuluo-yx
Copy link
Collaborator

yuluo-yx commented Jan 6, 2025

@yuluo-yx yuluo-yx changed the title 多模态报错 org.springframework.ai.retry.NonTransientAiException: 400 - {"code":"InvalidParameter","message":"url error, please check url!","request_id":"4bb03499-1f23-92c2-8792-812ae60d9c49"} example: multi model example is not running Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/example Spring AI Alibaba Examples
Projects
None yet
Development

No branches or pull requests

2 participants