mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-12-02 18:13:13 +00:00
Update EMBEDDINGS_NAME in settings.py and test_vector_store.py
This commit is contained in:
@@ -14,6 +14,6 @@ def test_init_local_faiss_store_huggingface():
|
||||
index.faiss file in the application/ folder results in a
|
||||
dimension mismatch error.
|
||||
"""
|
||||
settings.EMBEDDINGS_NAME = "huggingface_sentence-transformers/all-mpnet-base-v2"
|
||||
settings.EMBEDDINGS_NAME = "openai_text-embedding-ada-002"
|
||||
with pytest.raises(ValueError):
|
||||
FaissStore("application/", "", None)
|
||||
|
||||
Reference in New Issue
Block a user