Skip to content

chore(release): v0.2.0b26 — OCI embedding output_dimensions + input_type fix#294

Merged
fede-kamel merged 1 commit into
mainfrom
release/v0.2.0b26
May 30, 2026
Merged

chore(release): v0.2.0b26 — OCI embedding output_dimensions + input_type fix#294
fede-kamel merged 1 commit into
mainfrom
release/v0.2.0b26

Conversation

@fede-kamel
Copy link
Copy Markdown
Contributor

Bumps locus-sdk to 0.2.0b26.

Headline fix (#292, merged in #293): the OCI embedding dimension is now deterministic.
cohere.embed-v4.0 is Matryoshka and returns exactly the requested output_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. Adds
OCIEmbeddingConfig.output_dimensions (forwarded only when set, so v3 is untouched) and
makes config.dimension honor it. Also honors configured input_type /
query_input_type instead of hardcoding (verified live: input_type does not change the
output dimension — output_dimensions does).

Changes:

  • pyproject.toml: 0.2.0b250.2.0b26
  • CHANGELOG.md: new [0.2.0b26] section + compare links

Once merged, tagging v0.2.0b26 and publishing the GitHub Release triggers the Release
workflow → build → TestPyPI → PyPI. Verified hatch version0.2.0b26 and hatch build produces the wheel + sdist locally.

…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>
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 30, 2026
@fede-kamel fede-kamel merged commit cefd2c9 into main May 30, 2026
10 checks passed
@fede-kamel fede-kamel deleted the release/v0.2.0b26 branch May 30, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant