Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeMoussalli committed Oct 18, 2023
1 parent 9c828a5 commit 81147f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/embed_text/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def get_embedding_model(
auth_kwargs: dict,
) -> Embeddings:
if model_provider == "vertexai":
aip.init(auth_kwargs)
aip.init(**auth_kwargs)
return VertexAIEmbeddings(model=model)
# contains a first selection of embedding models
if model_provider == "aleph_alpha":
Expand Down

0 comments on commit 81147f1

Please sign in to comment.