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

Add Tongyi Provider Support #121

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

Conversation

NewToolAI
Copy link

Integrate Tongyi provider into the Python package:

  • Implement the TongyiProvider class in aisuite/providers/tongyi_provider.py, utilizing the dashscope library.
  • Add test cases for the TongyiProvider in tests/client/test_client.py, including mocks for the provider within the tests.
  • Provide usage instructions in guides/tongyi.md, detailing how to interact with the Alibaba Tongyi model.

@rohitprasad15
Copy link
Collaborator

Thanks for the PR. Please re-test after the addition of pydantic checks in the codebase.
If possible, please add tool calling support as well.
If the model uses OpenAI message format, then you can use Mistral or Together as an example how to use an existing base class to do message conversion.

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