chore(release): v0.2.0b26 — OCI embedding output_dimensions + input_type fix#294
Merged
Conversation
…ype fix (#293) Bumps locus-sdk to 0.2.0b26. Makes the OCI embedding dimension deterministic via a new output_dimensions config knob (Cohere v4 Matryoshka), so a vector column and its query vectors can no longer diverge into ORA-51803; also honors configured input_type / query_input_type instead of hardcoding it (closes #292). Signed-off-by: Federico Kamelhar <federico.kamelhar@oracle.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps
locus-sdkto 0.2.0b26.Headline fix (#292, merged in #293): the OCI embedding dimension is now deterministic.
cohere.embed-v4.0is Matryoshka and returns exactly the requestedoutput_dimensions(default 1536); Locus previously left it to OCI's implicit default, so a column indexed
at one dimension and queried at another raised
ORA-51803. AddsOCIEmbeddingConfig.output_dimensions(forwarded only when set, so v3 is untouched) andmakes
config.dimensionhonor it. Also honors configuredinput_type/query_input_typeinstead of hardcoding (verified live:input_typedoes not change theoutput dimension —
output_dimensionsdoes).Changes:
pyproject.toml:0.2.0b25→0.2.0b26CHANGELOG.md: new[0.2.0b26]section + compare linksOnce merged, tagging
v0.2.0b26and publishing the GitHub Release triggers the Releaseworkflow → build → TestPyPI → PyPI. Verified
hatch version→0.2.0b26andhatch buildproduces the wheel + sdist locally.