mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 13:55:41 +01:00
Update embedding_component.py
This commit is contained in:
parent
f3fda24ae0
commit
5709b6009e
1 changed files with 2 additions and 2 deletions
|
|
@ -154,8 +154,8 @@ class EmbeddingComponent:
|
|||
"Mistral dependencies not found, install with `poetry install --extras embeddings-mistral`"
|
||||
) from e
|
||||
|
||||
api_key = settings.mistral.api_key
|
||||
model = settings.mistral.embedding_model
|
||||
api_key = settings.openai.api_key
|
||||
model = settings.openai.embedding_model
|
||||
|
||||
self.embedding_model = MistralAIEmbedding(
|
||||
api_key=api_key,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue