Unverified 提交 4634a578 作者: yawudede 提交者: GitHub

local_doc_qa.py

上级 9140a5e7
...@@ -21,6 +21,7 @@ import models.shared as shared ...@@ -21,6 +21,7 @@ import models.shared as shared
from agent import bing_search from agent import bing_search
from langchain.docstore.document import Document from langchain.docstore.document import Document
from sentence_transformers import SentenceTransformer, CrossEncoder, util from sentence_transformers import SentenceTransformer, CrossEncoder, util
from sklearn.neighbors import NearestNeighbors
class SemanticSearch: class SemanticSearch:
def __init__(self): def __init__(self):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论