update vector store to remove dummy embeddings

This commit is contained in:
KCaverly
2023-07-13 17:01:56 -04:00
parent 623cb9833c
commit d8fd0be598
+4 -5
View File
@@ -80,11 +80,10 @@ pub fn init(
let vector_store = VectorStore::new(
fs,
db_file_path,
Arc::new(embedding::DummyEmbeddings {}),
// Arc::new(OpenAIEmbeddings {
// client: http_client,
// executor: cx.background(),
// }),
Arc::new(OpenAIEmbeddings {
client: http_client,
executor: cx.background(),
}),
language_registry,
cx.clone(),
)