1.混元大模型
1.1 购买(新用户免费试用一年)
1.2 创建秘钥
- 立即接入

- 创建子用户的secretId和key

- 点击快速创建

- 查看自己的id和key【记得自己记下来】

2. 编程对接-Java
2.1 maven - pom.xml
1 | <dependency> |
2.2 test方法
1 | private HunyuanClient client; |
- 结果





1 | <dependency> |
1 | private HunyuanClient client; |

tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true