Add voyage ai embeddings (#5547)

This commit is contained in:
Engel Nyst
2024-12-12 18:19:05 +01:00
committed by GitHub
parent ed3916b79b
commit ac5190c283
4 changed files with 43 additions and 1 deletions

View File

@@ -51,6 +51,7 @@ class LongTermMemory:
self.embed_model = EmbeddingsLoader.get_embedding_model(
embedding_strategy, llm_config
)
logger.debug(f'Using embedding model: {self.embed_model}')
# instantiate the index
self.index = VectorStoreIndex.from_vector_store(vector_store, self.embed_model)