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