update vector store to remove dummy embeddings
This commit is contained in:
@@ -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(),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user