-
Notifications
You must be signed in to change notification settings - Fork 182
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
Update docs for saving/loading drivers configs #1436
Conversation
123ba73
to
395e14e
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! Just wondering if it makes sense to use the TextLoader().load() and TextLoader().save() stuff now that we've been talking about adding it?
custom_config = AmazonBedrockDriversConfig() | ||
dict_config = custom_config.to_dict() | ||
# Use OpenAi for embeddings | ||
dict_config["embedding_driver"] = { | ||
"base_url": None, | ||
"model": "text-embedding-3-small", | ||
"organization": None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there any other docs showing this type of example of manipulating the "json" directly? Or maybe its not needed since why would you do that if you are already using python?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this example didn't feel all that necessary to me
395e14e
to
7ebe75f
Compare
7ebe75f
to
79ca6c0
Compare
Describe your changes
Update docs for saving/loading drivers configs
Issue ticket number and link
Closes #1425
📚 Documentation preview 📚: https://griptape--1436.org.readthedocs.build//1436/