摘要: 参考:https://blog.csdn.net/weixin_46112225/article/details/125302036 一、依赖安装 package.json文件中(版本号其实应该可以不限制,用最新的是OK的) "dependencies": { ... "xlsx": "^0.16. 阅读全文
posted @ 2023-10-26 16:20 佐佐木绯世 阅读(1480) 评论(0) 推荐(0)
摘要: 好记性不如烂笔头系列 一、背景: 1、之前使用chatgpt接口生成embeddings的向量维度为1536维,数据库中占用较大,所以找寻低维度的向量生成方法,减少数据占用 2、在huggingface上发现all-mpnet-base-v2及all-MiniLM-L6-v2两个模型不错,前者会生成 阅读全文
posted @ 2023-09-20 17:18 佐佐木绯世 阅读(9145) 评论(0) 推荐(1)
摘要: 《好记性不如烂笔头系列》 子组件 <template> <div class="protocolstyle"> <van-checkbox v-model="checked" toggle @click="userProtocolClick"></van-checkbox> <span class= 阅读全文
posted @ 2023-07-05 15:23 佐佐木绯世 阅读(258) 评论(0) 推荐(0)
摘要: 《好记性不如烂笔头系列》 <template> <van-row> <div class="roadshowDescValueDiv"> <div ref="desContent" class="desContent" :class="{ 'show-all': desShowAll }"> <sp 阅读全文
posted @ 2023-06-26 11:12 佐佐木绯世 阅读(1674) 评论(0) 推荐(0)
摘要: 加个全局样式即可 body { -webkit-filter: grayscale(100%); filter: grayscale(100%); } 阅读全文
posted @ 2022-12-04 23:11 佐佐木绯世 阅读(25) 评论(0) 推荐(0)
摘要: 一、WebSocket简述 WebSocket是一种在单个TCP连接上进行全双工通信的协议。WebSocket通信协议于2011年被IETF定为标准RFC 6455,并由RFC7936补充规范。WebSocket API也被W3C定为标准。 WebSocket使得客户端和服务器之间的数据交换变得更加 阅读全文
posted @ 2022-08-24 10:20 佐佐木绯世 阅读(831) 评论(0) 推荐(0)
摘要: 一、工具类 import com.abc5w.esgreportapi.model.ModulesModel; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java 阅读全文
posted @ 2022-05-23 14:10 佐佐木绯世 阅读(427) 评论(0) 推荐(0)
摘要: Redis 5.0版本Stream介绍,可以先看这篇文章: https://www.cnblogs.com/williamjie/p/11201654.html 一、pom.xml <!--redis jedis依赖--> <dependency> <groupId>redis.clients</g 阅读全文
posted @ 2022-04-26 11:39 佐佐木绯世 阅读(632) 评论(0) 推荐(1)
摘要: /** * 获取当前服务器IP地址 */ public static String getCurServerIp() { String currentIp = ""; try { Enumeration<NetworkInterface> networkInterfaces = NetworkInt 阅读全文
posted @ 2022-04-25 16:48 佐佐木绯世 阅读(435) 评论(0) 推荐(0)
摘要: 官方文档地址:https://nacos.io/zh-cn/docs/cluster-mode-quick-start.html 官方推荐集群部署方式: 1、http://ip1:port/openAPI 直连ip模式,机器挂则需要修改ip才可以使用。 2、http://SLB:port/openA 阅读全文
posted @ 2021-03-09 13:32 佐佐木绯世 阅读(979) 评论(0) 推荐(0)