agentscope icon indicating copy to clipboard operation
agentscope copied to clipboard

Add DashScope API based multimodal service functions in AgentScope library

Open PengHongyiNTU opened this issue 9 months ago • 2 comments

This PR introduces three new services to the service toolkit: dashscope_text_to_image, dashscope_image_to_text, and dashscope_text_to_audio.

also fix a small error in examples/conversation_with_customized_services

PengHongyiNTU avatar May 24 '24 06:05 PengHongyiNTU

The title of this PR isn't quite accurate.

garyzhang99 avatar May 24 '24 06:05 garyzhang99

Although it might be a bit of a hassle, please consider adding corresponding tests for the new added service functions. You may refer to the examples in tests/execute_python_code_test.py and tests/dashscope_test.py, utilizing mocks to simulate the return values of the relevant dashscope libraries. This way, if any bugs arise in the future due to changes in the library, we can quickly pinpoint them.

garyzhang99 avatar May 24 '24 09:05 garyzhang99