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

Wrap optional LLM dependencies under load #428

Merged
merged 1 commit into from
Mar 16, 2024

Conversation

alvarobartt
Copy link
Member

Description

This PR adds the try-except blocks raising ImportError within the load method of each LLM subclass, so that there's no need to install everything at once.

Closes #426

@alvarobartt alvarobartt added this to the 1.0.0 milestone Mar 16, 2024
@alvarobartt alvarobartt self-assigned this Mar 16, 2024
@alvarobartt alvarobartt merged commit 2020f3c into core-refactor Mar 16, 2024
4 checks passed
@alvarobartt alvarobartt deleted the optional-dependencies branch March 16, 2024 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Update all the Steps and LLMs to import optional dependencies within load method
1 participant