mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-29 18:29:44 +08:00
local_doc_qa.py
This commit is contained in:
parent
9140a5e70c
commit
4634a578f4
@ -21,6 +21,7 @@ import models.shared as shared
|
||||
from agent import bing_search
|
||||
from langchain.docstore.document import Document
|
||||
from sentence_transformers import SentenceTransformer, CrossEncoder, util
|
||||
from sklearn.neighbors import NearestNeighbors
|
||||
|
||||
class SemanticSearch:
|
||||
def __init__(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user