随笔分类 -  AI

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