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( let vector_store = VectorStore::new(
fs, fs,
db_file_path, db_file_path,
Arc::new(embedding::DummyEmbeddings {}), Arc::new(OpenAIEmbeddings {
// Arc::new(OpenAIEmbeddings { client: http_client,
// client: http_client, executor: cx.background(),
// executor: cx.background(), }),
// }),
language_registry, language_registry,
cx.clone(), cx.clone(),
) )