Merged
Conversation
…apture v0.3.0 - Add sortDocsOn param to search for sorting docs by "score" or "start" - Add modelConfig param to Scene.describe() for custom model config - Add Video.update() to update video metadata (name) - Update capture binary to v0.3.0 with new checksums - Bump version to 0.2.4
feat: add sortDocsOn, modelConfig for scene.describe, video.update, c…
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.
Pull Request
Description:
Release 0.2.4 — adds search sorting, scene describe model config, video update method, and capture binary bump.
Changes:
sortDocsOnparameter toCollection.search()andVideo.search()for sorting docs within each video by"score"or"start"modelConfigparameter toScene.describe()for passing custom model configuration alongsidemodelNameVideo.update({ name })method to update video metadata viaPATCH /video/{video_id}Video.namefromreadonlyto mutable (required forupdate())0.2.4v0.2.10tov0.3.0with new checksums (package.json + installer.ts)Related Issues:
sortDocsOnin the main SDKmodelConfigneeded for custom LLM config in scene description workflowsTesting:
sortDocsOn— verify search results respect sort order when passing"score"or"start"Scene.describe(prompt, modelName, modelConfig)— verify model config is forwarded to the API and description is returnedVideo.update({ name })— verify name update via PATCH and thatvideo.namereflects the changev0.3.0— verifynpm install videodbpulls and installs the correct binary version on darwin-arm64, darwin-x64, and win32-x64Collection.search(),Video.search(), andScene.describe()calls without the new params still work as beforenpx tsc --noEmit)