Skip to content

腾讯混元大模型

腾讯混元大模型腾讯混元大模型(Tencent Hunyuan)是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。

腾讯混元大模型配置

属性描述必填默认值
spring.ai.tencent.secretIdSecretIdtrue
spring.ai.tencent.secretKeySecretKeytrue
spring.ai.tencent.endpoint请求域名falsehunyuan.tencentcloudapi.com

【系统】集成腾讯混元大模型

  • Orange AI版本

    Orange-AI 1.1.0版本开始,所有后续版本都将支持集成腾讯混元的大模模型。

  • 获取API-KEY

    获取阿里SecretId和SecretKey,请参考腾讯官网SecretId和SecretKey安全凭证申请

  • 配置

    yaml
    spring:
      ai:
        tencent:
          secret-id: AKIDCE5qe2J6mFTbV9YhbHhsy2sT8iBWiesl
          secret-key: qY77Glew87e5HEJAsU2d6PdnrrvwnUyHO
          endpoint: hunyuan.tencentcloudapi.com
  • 引入Maven依赖

    xml
    <!--  腾讯混元AI大模型 依赖  -->
    <dependency>
      <groupId>cn.hengzq.orange</groupId>
      <artifactId>orange-ai-tencent-biz-starter</artifactId>
      <version>${revision}</version>
    </dependency>
  • 【系统】添加大模型

    腾讯混元-模型列表 中,选择自己需要的模型进行添加.

体验腾讯混元大模型

  • 聊天大模型