Skip to content

C#实现的扣子客户端,方便你更好的调用你的扣子智能体。

Notifications You must be signed in to change notification settings

zhulige/coze-sharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

中文

SVG Banners

CozeSharp - 扣子AI智能体客户端

License Stars Issues

项目简介

CozeSharp 是一个用 C# 精心打造的扣子AI智能体控制台客户端。它不仅是一个功能强大的工具,能让您轻松体验扣子AI智能体带来的智能交互乐趣,还可作为学习 C# 编程的优质示例代码。本客户端默认连接 coze.cn 官方服务器,提供稳定可靠的服务。

核心功能

支持语音输入和文字输入的智能对话。

适用人群

C# 开发者、AI 爱好者、学习者。

项目地址

https://github.com/zhulige/coze-sharp

快速开始

1. 获取项目

git clone https://github.com/zhulige/coze-sharp.git

2. 打开项目

  • Visual Studio:双击 CozeSharp.sln 文件打开项目。
  • VS Code:打开项目根目录文件夹。

3. 配置信息

打开 CozeAgent.cs 文件,修改以下字段为您的个人信息:

private const string TOKEN = "你的Token";
private const string BOT_ID = "你的Bot ID";
private const string USER_ID = "你的User ID";

4. 运行项目

  • Visual Studio:点击“运行”按钮启动项目。
  • VS Code
cd CozeSharp_Test
dotnet run

5. 运行效果

运行后,您可以通过语音或文字与扣子AI智能体进行交互。效果如下:

6. 加入社群

欢迎加入我们的社区,分享经验、提出建议或获取帮助!

功能亮点

  • 语音交互:支持语音输入,轻松实现人机对话。
  • 文字输入:提供灵活的文字交互方式。
  • 代码示例:清晰的 C# 代码结构,适合学习和二次开发。
  • 稳定连接:默认接入 coze.cn 官方服务器,服务可靠。

贡献

欢迎对项目提出建议或贡献代码!请按照以下步骤参与:

  1. Fork 本仓库。
  2. 创建您的特性分支 (git checkout -b feature/YourFeature)。
  3. 提交更改 (git commit -m 'Add YourFeature')。
  4. 推送到分支 (git push origin feature/YourFeature)。
  5. 创建 Pull Request。

许可证

本项目采用 MIT 许可证 开源。

联系我们

有任何问题或建议?请通过 Issues 联系我们,或加入社群讨论!

English

SVG Banners

CozeSharp - Coze AI Agent Client

License Stars Issues

Project Introduction

CozeSharp is a console client for the Coze AI agent, carefully developed in C#. It is not only a powerful tool that allows you to easily experience the intelligent interaction brought by the Coze AI agent but also serves as high - quality sample code for learning C# programming. This client is set to connect to the official coze.cn server by default, providing a stable and reliable service.

Core Features

Support intelligent conversations with both voice input and text input.

Target Audience

C# developers, AI enthusiasts, and learners.

Project Address

https://github.com/zhulige/coze-sharp

Quick Start

1. Get the Project

git clone https://github.com/zhulige/coze-sharp.git

2. Open the Project

  • Visual Studio: Double - click the CozeSharp.sln file to open the project.
  • VS Code: Open the root directory folder of the project.

3. Configure Information

Open the CozeAgent.cs file and modify the following fields with your personal information:

private const string TOKEN = "Your Token";
private const string BOT_ID = "Your Bot ID";
private const string USER_ID = "Your User ID";

4. Run the Project

  • Visual Studio: Click the "Run" button to start the project.
  • VS Code:
cd CozeSharp_Test
dotnet run

5. Running Effect

After running, you can interact with the Coze AI agent via voice or text. The effect is as follows:

6. Join the Community

Welcome to join our community to share experiences, offer suggestions, or get help!

## Feature Highlights - **Voice Interaction**: Support voice input for easy human - machine conversation. - **Text Input**: Provide a flexible text interaction method. - **Code Example**: Clear C# code structure, suitable for learning and secondary development. - **Stable Connection**: Connect to the official coze.cn server by default, ensuring reliable service.

Contribution

Welcome to provide suggestions or contribute code to the project! Please follow these steps to participate:

  1. Fork this repository.
  2. Create your feature branch (git checkout -b feature/YourFeature).
  3. Commit your changes (git commit -m 'Add YourFeature').
  4. Push to the branch (git push origin feature/YourFeature).
  5. Create a Pull Request.

License

This project is open - sourced under the MIT License.

Contact Us

Have any questions or suggestions? Please contact us via Issues or join the community discussion!

About

C#实现的扣子客户端,方便你更好的调用你的扣子智能体。

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages