02 2023 档案

摘要:package com.xf.config; import com.alibaba.druid.sql.ast.statement.SQLExprTableSource; import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisit 阅读全文
posted @ 2023-02-22 17:02 wujf 阅读(147) 评论(0) 推荐(0) 编辑
摘要:背景 对接chatgpt时,需要支持在群聊里@机器人时回复内容 @我的收到的请求 { "atMe": "true", "groupRemark": "", "textType": "1", "groupName": "吴冠冠", "spoken": "武汉在哪里", "rawSpoken": "@吴 阅读全文
posted @ 2023-02-20 18:00 wujf 阅读(186) 评论(0) 推荐(0) 编辑
摘要:package com.ruoyi.framework.config; import com.baomidou.mybatisplus.core.plugins.InterceptorIgnoreHelper; import com.baomidou.mybatisplus.core.toolkit 阅读全文
posted @ 2023-02-20 12:17 wujf 阅读(156) 评论(0) 推荐(0) 编辑
摘要:背景 openai接入企业微信机器人时碰到回调里有unicode编码 解决办法 dest = dest.replaceAll("[\\pZ]", ""); 原文 https://www.freesion.com/article/6659944816/ 阅读全文
posted @ 2023-02-16 14:09 wujf 阅读(519) 评论(0) 推荐(0) 编辑
摘要:1、准备条件 注册好企业微信 注册好openai,获取到aipkey 加我v信,少走好多弯路 2、配置服务 登录企业微信后台获取到对接的相关参数 配置回调地址 3、存在的问题 openai的接口不稳定,特别是那个最新的模型,接口调用很容易超时,企业微信默认响应时间为5s 群聊机器人暂未实现,研究中, 阅读全文
posted @ 2023-02-14 14:37 wujf 阅读(790) 评论(0) 推荐(0) 编辑
摘要:企业微信集成openai实现chatgpt机器人 阅读全文
posted @ 2023-02-09 18:11 wujf 阅读(2885) 评论(0) 推荐(0) 编辑
摘要:package com.xf; import java.util.concurrent.Callable; public class bbb implements Callable { private final String b1; public bbb(String b1) { this.b1 阅读全文
posted @ 2023-02-08 11:59 wujf 阅读(572) 评论(0) 推荐(0) 编辑
摘要:public void preHandle(BoundSql boundSql, RequestEntity requestEntity) { System.out.println("要执行的SQL:" + boundSql.getSql()); System.out.println("要执行的SQ 阅读全文
posted @ 2023-02-06 12:18 wujf 阅读(117) 评论(0) 推荐(0) 编辑
摘要:import time def log(delay=0): def decorator(func): def wrapper(*args, **kwargs): """我是 wrapper 的注释""" time1 = time.time() newargs = list(args) newargs 阅读全文
posted @ 2023-02-06 10:36 wujf 阅读(72) 评论(0) 推荐(0) 编辑
摘要:schedule的四种用法 schedule(task,time) task-所安排的任务 time-执行任务的时间 作用:在时间等于或者超过time的时候执行且仅执行一次 import java.text.SimpleDateFormat; import java.util.Calendar; i 阅读全文
posted @ 2023-02-03 14:19 wujf 阅读(1513) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示