Closed Haijian06 closed 8 months ago
There seems to be a misunderstanding regarding the functionality of our current implementation of the DashScope wrapper. At present, it includes capabilities for chat
, image synthesis
, and text embedding
but does not extend to multimodal interactions. The error you've encountered stems from the specified "model_type": "dashscope_text_embedding"
within your model_configs
. This configuration explicitly invokes the dashscope.TextEmbedding.call
method, which unfortunately does not support the "model_name": "qwen-vl-plus"
as indicated by the URL error message.
If your intention is to utilize dashscope.MultiModalConversation.call
, I shall inform you that this interface is not yet implemented in our system. Maybe we will implement it later. However, if you're keen on accessing this functionality, you are welcome to develop a DashScopeMultiModalWrapper
by following the existing implementation patterns found in the dashscope_model.py
. For reference on the parameters required, please visit https://help.aliyun.com/zh/dashscope/developer-reference/tongyi-qianwen-vl-plus-api.
We would also be delighted to consider any pull requests to our library should you decide to contribute your implementation.
好的谢谢你的解答,那根据我看到在目前的AgentScope中,是不是还不支持agent多模态推理功能。
如果支持那有具体的文档步骤吗?谢谢
Currently, we do not have support for multimodal reasoning functionality, but we plan to continuously extend our support for additional models.
If multimodal reasoning capabilities are essential for your needs, we highly encourage you to take the initiative to implement a DashScopeMultiModalWrapper
. For guidance, you can refer to the implementation of the other wrappers found within dashscope_model.py
. Your contributions are valuable, and we warmly invite you to submit pull requests to our repository.
好的谢谢,我会去试试的,感谢你的解答!
Describe` the bug 当我在模型配置中使用了dashscope api的识图模型qwen-vl-plus,在使用Msg模块传入图片给agent时报错400,url换过本地和网络,都是报错400。 To Reproduce Steps to reproduce the behavior:
How to execute
我是从本地安装的
See error
Expected behavior 成功运行
Environment (please complete the following information):