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

Add DataStax Astra DB vector store driver #1034

Merged
merged 25 commits into from
Jul 31, 2024
Merged

Conversation

collindutter
Copy link
Member

@collindutter collindutter commented Jul 31, 2024

Describe your changes

Recreating the PR in our repo so that integration tests can run

Issue ticket number and link

Closes #1021
Closes #1022


📚 Documentation preview 📚: https://griptape--1034.org.readthedocs.build//1034/

- simplify the 'query webpage Astra' markdown page
- add env.vars to the CI action yaml
- remove Griptape version detection
- remove mistakenly-added logging level setting
- moved the "indexing" value to a class attribute
- reinstated `dimensions` as a required parameter
- removed kwargs warnings from methods (and implications thereof)
- replaced implicit-bool checks with "is None" checks in a few places
- (testing) move sample docs and Entries to being pytest fixtures
- (testing) move utility function `_descore_entry` into a class method
vachillo
vachillo previously approved these changes Jul 31, 2024
vachillo
vachillo previously approved these changes Jul 31, 2024
Copy link

codecov bot commented Jul 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@collindutter collindutter merged commit 3cb1fe7 into dev Jul 31, 2024
14 checks passed
@collindutter collindutter deleted the SL-astra-db-vector-store branch July 31, 2024 17:34
@hemidactylus
Copy link
Contributor

Thank you @collindutter and @vachillo for the extremely fast and helpful review process!

@hemidactylus
Copy link
Contributor

Hello, @collindutter - a thought occurred to me that if you set up Astra DB CI/CD with a free-tier Astra account, the database will go into hibernation after one (perhaps two?) days of inactivity, and the integration tests would fail.
Please ping me privately, I can share connection secrets to a dedicated database I created, that will never go to sleep: this would make Griptape's CI/CD smoother.

@collindutter
Copy link
Member Author

Thanks for the offer @hemidactylus -- what's the best way to get in touch? Are you in our discord?

collindutter added a commit that referenced this pull request Aug 2, 2024
Co-authored-by: Stefano Lottini <stefano.lottini@datastax.com>
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.

Add a vector store driver for DataStax Astra DB
3 participants