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

adds support for new vector data types #222

Merged
merged 27 commits into from
Oct 2, 2024

Conversation

justin-cechmanek
Copy link
Collaborator

Adds support for bfloat16, float16, and float64 data types.

Users can now specify the desired dtype for their schema when creating semantic caches, semantic routers, and semantic session managers.

When not specified data type still defaults to float32

@justin-cechmanek justin-cechmanek linked an issue Sep 20, 2024 that may be closed by this pull request
Copy link
Collaborator

@tylerhutcherson tylerhutcherson left a comment

Choose a reason for hiding this comment

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

Nice! A few things we can adjust, but looking pretty solid

pyproject.toml Outdated Show resolved Hide resolved
redisvl/extensions/llmcache/schema.py Outdated Show resolved Hide resolved
redisvl/extensions/llmcache/semantic.py Show resolved Hide resolved
redisvl/extensions/router/semantic.py Outdated Show resolved Hide resolved
redisvl/extensions/session_manager/schema.py Outdated Show resolved Hide resolved
redisvl/extensions/session_manager/semantic_session.py Outdated Show resolved Hide resolved
redisvl/index/index.py Outdated Show resolved Hide resolved
redisvl/schema/fields.py Show resolved Hide resolved
redisvl/index/storage.py Outdated Show resolved Hide resolved
@tylerhutcherson tylerhutcherson merged commit 42e33a3 into main Oct 2, 2024
20 checks passed
@tylerhutcherson tylerhutcherson deleted the feat/RAAE-206/vector-dtypes branch October 2, 2024 02:21
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.

Support for new vector types
2 participants