Conversation
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:
Version
0.3.0Ports
videodb-python'sfeat/add-indexing-v2drop to the NodeJS SDK (feat/indexing-v2→main), bringing the SDK to parity across two related workstreams:generate*methods.Also adds embed-code helpers and threads
sandboxIdthrough the inference-bearing methods. Bodies are authored in snake_case at the call site and responses are auto-camelCased byHttpClient, per existing SDK conventions; every new public symbol is re-exported from thesrc/index.tsbarrel. Bumps the package0.2.7→0.3.0(minor) and updates the changelog.Scope: 25 files changed, ~+3,700 / −133. New source modules:
understanding.ts,indexManifest.ts,job.ts,sandbox.ts,sandboxModels.ts,voiceClone.ts,search/responses.ts.Changes:
Video&Collection—search()dispatcher +ask()/semanticSearch()/query()/aggregate(), v2SearchResponse/AskResponseenvelopes, iterableSearchResult;legacySearch()behind a one-time deprecation warningUnderstanding+UnderstandingAnalyzerclasses andVideo.understand()/getUnderstanding()/listUnderstandings()/deleteUnderstanding()Index/IndexRecord/FieldSchema/RecordPageandVideo.index()/getIndex()/listIndexes()/deleteIndex(), withIndexCapability/FieldGroupconstantsSandbox(lifecycle polling) +Connection.createSandbox()/getSandbox()/listSandboxes(),SandboxTier/SandboxStatus/SandboxModelGenerationJob+Connection.getJobStatus()/waitForJob();generateImage()/generateVoice()/generateText()gain self-inference routing,sandboxId, andwaitVoiceCloneCRUD onConnectionandCollection;voiceCloneIdingenerateVoice()RTStreamUnderstanding/RTStreamIndex,understand()/index(), alert management, record retrievalgetEmbedCode()onVideo/Shot/Timeline/ RTStream,buildIframeEmbedCode()/playerUrlToEmbedUrl(),playerUrlfieldssandboxIdthreading intoVideo.indexScenes()/indexVisuals(),Scene.describe()(+modelConfig), and RTStream indexing;Connection.getAsyncResponse()waitflag + per-call poll overrides onHttpClient, monotonic-clock poll loop w/RequestTimeoutError,uploadBytes()helper,prompt_urloffload for largegenerateText()promptsSandbox.isReady/waitForReady()treatalertas ready (matching PythonREADY_STATUSES) and no longer reportprovisioningas ready0.2.7→0.3.0+CHANGELOG.mdRelated Issues:
Checklist: