Repository navigation
fix: response-shape error classes and one vector codec path - #444
Merged
Merged
Conversation
Thread the session sequence accessor through the Calvin fold so RETURNING expressions resolve identically on the Calvin path and the single-shard path. Report a streaming NDJSON error as a terminal line, and simplify the materialized RETURNING shaping outcome.
Unify codec build, checkpoint, segment, and sealed search under a shared codec layer, replacing the separate dispatch and sidecar build modules. Add OPQ and ternary rerank codecs, reject unbuildable codec shapes at CREATE time, and default vector quantization to SQ8.
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.
Closes #338.
Closes #395.
Closes #396.
Closes #397.
Error classes (#338)
22000(data exception), notXX000.nextval()in a RETURNING list evaluates.Vector codecs (#395, #396, #397)
22023.top_k × oversample, the beam ismax(ef_search, pool), then exact rerank.Behaviour changes
oversampledefaults to 3.target_recallwidens the beam. It must be in (0, 1].quantizationhint that differs from the index codec raises22000.VectorQuantizationisSq8.Breaking changes for embedders (nodedb-lite)
CodecNameandVectorQuantizationgain variants.VectorQuantizationis no longer#[non_exhaustive], so exhaustive matches need the new arms.BuildRequest,BuiltSegment,complete_build,complete_rebuildandsealchange signatures.complete_buildandcomplete_rebuildreturnInstallOutcome.OpqCodec::trainreturnsResult.oversampleargument.Licence headers
BUSL-1.1SPDX header. They now sayApache-2.0.Tests
nextval(), codec build errors and retry, compaction id remapping, and the code-stage pool.