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

🔧 Update ERNIE-Bot SDK and sample controllers #40

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Conversation

xbotter
Copy link
Collaborator

@xbotter xbotter commented Aug 29, 2023

  • Add Llama-2 model endpoints
  • Renamed method ChatCompletionsAsync to ChatAsync in ApiController.cs
  • Updated the model endpoint in Program.cs
  • Added a new method ChatAsync in ERNIEBotClient.cs
  • Added a new method ChatStreamAsync in ERNIEBotClient.cs
  • Updated the model endpoints in Defaults.cs

These changes improve the functionality and maintainability of the ERNIE-Bot SDK and sample controllers.

- Renamed method `ChatCompletionsAsync` to `ChatAsync` in ApiController.cs
- Updated the model endpoint in Program.cs
- Added a new method `ChatAsync` in ERNIEBotClient.cs
- Added a new method `ChatStreamAsync` in ERNIEBotClient.cs
- Updated the model endpoints in Defaults.cs

These changes improve the functionality and maintainability of the ERNIE-Bot SDK and sample controllers.
@github-actions github-actions bot added documentation Improvements or additions to documentation sdk ERNIE-Bot Sdk sk semantic kernel test sample labels Aug 29, 2023
@xbotter xbotter linked an issue Aug 29, 2023 that may be closed by this pull request
@xbotter xbotter merged commit 5142607 into main Aug 29, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation sample sdk ERNIE-Bot Sdk sk semantic kernel test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

支持 Llama-2 系列模型接口
1 participant