The DashScope Compatibility Plugin

odysseyzjh - 代码插件 - 2024/08/10

Enhance Unreal Engine 5 with our plugin that offers streamlined AI integration, real-time streaming output, and seamless compatibility with both DashScope and OpenAI.

  • 支持的平台
  • 支持的引擎版本
    5.4
  • 下载类型
    引擎插件
    此产品包含一款代码插件,含有预编译的二进制文件以及与虚幻引擎集成的所有源代码,能够安装到您选择的引擎版本中,并根据每个项目的需求启动。

Streamline your development workflow with the DashScope Compatibility Plugin for Unreal Engine 5. This plugin not only facilitates seamless integration with DashScope services but also supports streaming output capabilities, ensuring real-time interaction and responsiveness in your projects.

Alibaba Cloud Bairen offers a way to use services compatible with OpenAI. If you have previously used the OpenAI SDK or other OpenAI-compatible interfaces (such as the langchain_openai SDK) or called OpenAI services via HTTP, you can directly use Alibaba Cloud Bairen's model services by simply adjusting parameters such as API-KEY, BASE_URL, and model within your existing framework.

技术细节

特征:

  • 简化的 HTTP 集成:无缝连接 DashScope 服务,兼容 Unreal Engine 5 并与 OpenAI Chat API 兼容。
  • 实时数据流:支持实时数据流,增强项目响应能力和交互性。
  • 可配置的API设置:可调整API端点、请求超时和每分钟最大请求数的参数。
  • 速率限制管理:控制API请求速率,以确保绕过使用策略。
  • 异步请求处理:在单独的线程上处理请求,阻塞主线程。
  • 动态响应广播:使用多播委托将API响应和错误广播回游戏环境。
  • 错误处理:提供全面的错误处理和反馈。
  • https://github.com/zxwzxw/DashScope/wiki
  • https://help.aliyun.com/zh/model-studio/developer-reference/compatibility-of-openai-with-dashscope?spm=a2c4g.11186623.0.i2#341800c1f8h93

代码模块:

  • 阿里巴巴子系统(运行时):该模块负责所有运行时操作,处理HTTP请求,JSON序列化和异步任务执行。





蓝图数量:

  • 8





C++类的数量​​​​​​​​​​​​​​​:

  • 1





支持的开发平台:





支持的目标构建平台: