Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix environment variable setting in embed_text component #722

Merged
merged 2 commits into from
Dec 12, 2023

Conversation

Hakimovich99
Copy link
Contributor

Set the environment key before calling the embedding model to avoid "no api key found" error.

Copy link
Member

@RobbeSneyders RobbeSneyders left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Hakimovich99!

@@ -32,14 +32,14 @@ def __init__(
auth_kwargs: dict,
**kwargs,
):
to_env_vars(api_keys)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

@RobbeSneyders RobbeSneyders changed the title environment key bug fix Fix environment variable setting in embed_text component Dec 12, 2023
@RobbeSneyders RobbeSneyders merged commit bc7bc98 into main Dec 12, 2023
6 checks passed
@RobbeSneyders RobbeSneyders deleted the Hakimovich99-patch-1 branch December 12, 2023 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants