mirror of
https://github.com/hwchase17/langchain
synced 2024-11-04 06:00:26 +00:00
formatting
This commit is contained in:
parent
67dc1a9dd2
commit
4e9aecda90
@ -60,6 +60,7 @@ class PickBestFeatureEmbedder(base.Embedder[PickBestEvent]):
|
|||||||
|
|
||||||
if model is None:
|
if model is None:
|
||||||
from sentence_transformers import SentenceTransformer
|
from sentence_transformers import SentenceTransformer
|
||||||
|
|
||||||
model = SentenceTransformer("all-mpnet-base-v2")
|
model = SentenceTransformer("all-mpnet-base-v2")
|
||||||
|
|
||||||
self.model = model
|
self.model = model
|
||||||
|
Loading…
Reference in New Issue
Block a user