2024年1月24日

摘要: 一、和chatglm3通信,基于chromadbimport jsonimport requestsimport osfrom pdfminer.high_level import extract_pagesfrom pdfminer.layout import LTTextContainerimp 阅读全文
posted @ 2024-01-24 07:03 jsxyhelu 阅读(150) 评论(0) 推荐(0) 编辑
摘要: embeded模型基于m3e。 一、原生向量代码,自己计算距离 import numpy as np from numpy import dot from numpy.linalg import norm from sentence_transformers import SentenceTrans 阅读全文
posted @ 2024-01-24 07:00 jsxyhelu 阅读(25) 评论(0) 推荐(0) 编辑

导航