随笔分类 - AI
AI
摘要:1. spring3.3 @Configuration public class TimeOutConf { @Bean RestClientCustomizer restClientCustomizer() { return restClientBuilder -> { restClientBui
阅读全文
摘要:一 转载 https://developers.weixin.qq.com/community/develop/article/doc/000c22df268c581038f23929f61413 二 代码 requestTask.onChunkReceived(res => { // res 流式
阅读全文
摘要:uniapp实现流式请求 try { const requestTask = uni.request({ url: baseURL+'/ai/callChatAiflux', method: 'POST', headers: { 'Content-Type': 'application/json',
阅读全文
摘要:一 简述 AI生成的聊天界面,使用流式输出 接口springboot提供 二 注意 1.流式地址,需要全地址,需要手动获取baseurl拼接 // 读取baseUrl import config from '@/config.js'; const baseURL = config.baseUrl;
阅读全文
摘要:一 简述 目前Ai已需要jdk17+,若依自然有更高版 二 地址 使用springboot3分支 git clone -b springboot3 --single-branch https://gitee.com/y_project/RuoYi-Vue.git
阅读全文
摘要:一 参考帖子 https://comate.baidu.com/zh/page/augrwjt9jkp 二 解决 <!-- Maven配置示例 --> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</arti
阅读全文
摘要:配置文件 spring: ai: openai: api-key: ${TONGYI_API_KEY} base-url: ${TONGYI_OPNEAI_BASE_URL} chat: options: model: ${TONGYI_MODEL} # 通义千问API-KEY TONGYI_API
阅读全文

浙公网安备 33010602011771号