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 ZhipuAI provider #89

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

Add ZhipuAI provider #89

wants to merge 2 commits into from

Conversation

t41372
Copy link

@t41372 t41372 commented Nov 27, 2024

Add ZhipuAI provider integration to the python package.

  • Add aisuite/providers/zhipuai_provider.py implementing the ZhipuaiProvider class using the zhipuai library.
  • Update ProviderFactory in aisuite/provider.py to include ZhipuAI as a supported provider.
  • Add test cases for ZhipuaiProvider in tests/client/test_client.py and mock the ZhipuaiProvider in the test cases.

@t41372 t41372 marked this pull request as ready for review November 27, 2024 10:58
Add ZhipuAI provider integration to the python package.

* Add `aisuite/providers/zhipuai_provider.py` implementing the `ZhipuaiProvider` class using the `zhipuai` library.
* Update `ProviderFactory` in `aisuite/provider.py` to include ZhipuAI as a supported provider.
* Add test cases for `ZhipuaiProvider` in `tests/client/test_client.py` and mock the `ZhipuaiProvider` in the test cases.
* Update `README.md` to mention ZhipuAI as a supported provider and provide an example of using the ZhipuAI provider.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/andrewyng/aisuite?shareId=XXXX-XXXX-XXXX-XXXX).
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.

1 participant