Skip to content

Type audio/video time_ranges citations - #147

Merged
EricNGOntos merged 2 commits into
mainfrom
feat/wuchengke/media-time-ranges
Nov 12, 2026
Merged

EricNGOntos merged 2 commits into
mainfrom
feat/wuchengke/media-time-ranges

Conversation

@EricNGOntos

Copy link
Copy Markdown
Contributor

Summary

  • TimeRange (startMs, endMs) and optional timeRanges on RetrievalSource and RetrievalReferencedChunk, next to the existing pageNums / jobResultId citation fields. The API returns time_ranges for audio/video citations (Speech audio and video parsing (media track) knowhere#547); keysToCamel already maps them, and a test pins that mapping.
  • ChunkMetadata types the transcript fields: timeRanges, speakers, media, sourceKind.
  • README shows the new citation fields.

Testing

  • tsc --noEmit clean, eslint clean (existing warnings only).
  • vitest run: 571 passed. The two packages/mcp test files need a built SDK dist and fail the same way on main without this change.

🤖 Generated with Claude Code

EricNGOntos and others added 2 commits November 12, 2026 06:05
Add TimeRange and optional timeRanges on RetrievalSource and
RetrievalReferencedChunk, plus the transcript chunk metadata fields
(timeRanges, speakers, media, sourceKind). Responses already carry these
through keysToCamel; a test pins that mapping. The README shows the citation
fields.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@EricNGOntos
EricNGOntos merged commit 79495e4 into main Nov 12, 2026
4 checks passed
@EricNGOntos
EricNGOntos deleted the feat/wuchengke/media-time-ranges branch November 12, 2026 14:22
@github-actions github-actions Bot mentioned this pull request Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant