上一页 1 2 3 4 5 6 7 ··· 24 下一页
摘要: 背景 openai接入企业微信机器人时碰到回调里有unicode编码 解决办法 dest = dest.replaceAll("[\\pZ]", ""); 原文 https://www.freesion.com/article/6659944816/ 阅读全文
posted @ 2023-02-16 14:09 wujf 阅读(605) 评论(0) 推荐(0)
摘要: 1、准备条件 注册好企业微信 注册好openai,获取到aipkey 加我v信,少走好多弯路 2、配置服务 登录企业微信后台获取到对接的相关参数 配置回调地址 3、存在的问题 openai的接口不稳定,特别是那个最新的模型,接口调用很容易超时,企业微信默认响应时间为5s 群聊机器人暂未实现,研究中, 阅读全文
posted @ 2023-02-14 14:37 wujf 阅读(800) 评论(0) 推荐(0)
摘要: 企业微信集成openai实现chatgpt机器人 阅读全文
posted @ 2023-02-09 18:11 wujf 阅读(2929) 评论(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 阅读(595) 评论(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 阅读(151) 评论(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 阅读(87) 评论(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 阅读(1629) 评论(0) 推荐(0)
摘要: 建表语句 drop table if exists magic_api_file; CREATE TABLE `magic_api_file` ( `id` int(11) NOT NULL AUTO_INCREMENT, `file_path` varchar(512) NOT NULL, `fi 阅读全文
posted @ 2023-01-16 12:29 wujf 阅读(1628) 评论(0) 推荐(0)
摘要: location /epayapi { proxy_pass http://127.0.0.1:7011; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forward 阅读全文
posted @ 2022-12-06 12:18 wujf 阅读(484) 评论(0) 推荐(0)
摘要: 搜索页面采集,数据在控制台哦!!! 搜索页面采集,数据在控制台哦!!! 搜索页面采集,数据在控制台哦!!! 既然能打到控制台,当然也能传到系统!!! 既然能打到控制台,当然也能传到系统!!! 既然能打到控制台,当然也能传到系统!!! 阅读全文
posted @ 2022-11-15 18:16 wujf 阅读(38) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 24 下一页