Dev.to AI 🤖 Ai 👁 0 📖 6 min read

Your AI Agent Can Read. Why Can’t It Listen?

Knowhere now parses 11 audio/video formats and embedded PPTX media — with speaker turns, chapters, and exact timestamps. If you’ve ever built an internal knowledge base or an AI agent, you’ve probably run into the sam

Your AI Agent Can Read. Why Can’t It Listen?

Knowhere now parses 11 audio/video formats and embedded PPTX media — with speaker turns, chapters, and exact timestamps.

If you’ve ever built an internal knowledge base or an AI agent, you’ve probably run into the same frustrating gap.

You upload every PDF, Word doc, spreadsheet, and wiki page the company owns — and the agent still blanks on basic questions about how things actually work.

Usually, retrieval isn’t the problem. The problem is that half of a team’s real knowledge never makes it into a document in the first place. It lives in meeting recordings, customer interviews, podcasts, onboarding videos, and slide decks packed with embedded voiceovers and screen recordings.

The standard workaround is to wire up a speech-to-text API, dump a two-hour recording into 20,000 words of flat text, slice it into fixed-size chunks, and throw it into a vector database.

In practice, agents hate working with that:

  • Speakers bleed together. Once a long conversation gets split mid-thought, it’s easy to attribute one person’s point to someone else.

  • There’s no structure. A wall of raw transcript text has no table of contents. An agent can only hunt blindly for isolated snippets instead of following the arc of a discussion.

  • Citations are a dead end. Even when the agent finds the right answer, “from q3-sync.mp3” isn’t very helpful if a human still has to scrub through a two-hour timeline to verify the quote.

This month, we’re adding native audio and video parsing to Knowhere — along with embedded media extraction for PowerPoint decks.

Our goal wasn’t just to bolt on transcription. We wanted audio and video to behave like first-class documents: structured, navigable, and verifiable down to the exact moment something was said.

11 Audio & Video Formats — Turned Into Structured, Chaptered Memory

You can now ingest any of these formats directly into Knowhere:

  • Audio: .mp3, .wav, .m4a, .aac, .flac, .ogg, .opus

  • Video: .mp4, .mov, .webm, .mkv (we currently extract and parse the audio track)

Instead of handing back one giant blob of transcript text, Knowhere runs media files through a structured parsing pipeline:

1、Speaker-aware transcription and semantic segmentation

Under the hood, ffmpeg preprocesses the audio track before passing it to ASR (defaulting to Alibaba Cloud DashScope Fun-ASR) with speaker diarization enabled. Rather than slicing transcripts at arbitrary character counts, Knowhere segments around speaker turns, 2-second silences, and natural segment length — keeping utterances intact and speakers clearly separated.

2、Automatic chapters, parts, and navigation summaries

For hour-long meetings or multi-hour podcasts, clean segments still aren’t enough. Knowhere runs an LLM over time windows to group the conversation into chapters, deciding at window boundaries whether adjacent topics should merge or split. For extra-long recordings, it rolls chapters up into higher-level parts and writes summaries at each level into the document navigation tree (doc_nav).

By the time ingestion finishes, a two-hour interview looks like a well-organized document: clear speaker turns, an outline of chapters, and section summaries. An agent can skim the outline first and read only the parts it actually needs.

Citations That Work Like Page Numbers — Down to the Second

With text documents in Knowhere, every retrieval hit ties back to a specific file, section, and page number.

Audio and video follow the exact same model, except page numbers become timestamps:

  • When an agent calls corpus.outline to browse a recording or corpus.read to inspect a section, every segment includes explicit [hh:mm:ss–hh:mm:ss] bounds.

  • Retrieval citations returned by the API include structured time_ranges fields.

Because audio and video live inside the same corpus as your PDFs, Word docs, Markdown files, and slide decks, agents query everything through one unified toolset (recall, grep, outline, read). Whether you use Knowhere’s built-in retrieval agent or hook up your own agent over MCP or the REST API, you can search across docs and recordings in one pass — and jump straight to the exact timestamp to double-check the source audio.

Progressive Ingestion Works on Audio, Too (Without Re-Running ASR)

We recently rolled out progressive ingestion (ingestion_mode=progressive) so agents don’t have to wait for full enrichment before querying a file. Audio and video plug right into the same flow:

  • Knowhere publishes a searchable, timestamped transcript baseline first so the recording is immediately queryable.

  • The first time the recording is actually read, Knowhere builds out its chapter hierarchy and summaries from the saved transcript — without running speech recognition a second time.

If you’re backfilling a folder full of old meeting recordings or webinar replays — where you want everything searchable up front, even if most files won’t be read deeply right away — progressive mode cuts both wait time and compute cost.

Embedded Audio & Video Inside PowerPoint Decks Won’t Disappear Anymore

Along with standalone media files, we shipped a major upgrade to PowerPoint (.pptx) parsing.

Anyone who has processed enterprise decks, training courses, or product walkthroughs knows how often teams embed voiceovers or demo clips directly inside slides. In most parsing pipelines, converting a .pptx to plain text or PDF simply drops those embedded files on the floor.

Knowhere now handles .pptx files in two new ways:

  1. Hierarchy from the deck itself: Agenda and divider slides are used to build a real section tree instead of treating a presentation as a flat stack of disconnected pages.

  2. Embedded media extracted and linked back to its slide: Before PDF normalization, Knowhere pulls embedded audio and video out of the .pptx, transcribes them with timestamps, and attaches them directly to the slide that embeds them.

When an agent retrieves a slide, it gets the slide text, the visual page context, and the transcript and media link for whatever audio or video lives on that slide. The extra context a presenter spoke aloud — not just the bullet points on screen — finally comes back in search.

A Few Practical Engineering Details

If you’re thinking about running this in production, here are the operational details that matter:

  • Validation before billing: Corrupted files, video files with no audio track, or recordings over the duration cap are rejected up front — before any credits are charged.

  • Duration caps and pricing: Default limits are 60 minutes per file on free/guest tiers and 120 minutes on paid plans, billed at 1 page per 2 minutes of audio. If you self-host, you can adjust the duration limits directly via environment variables.

  • Updated across the stack: This isn’t just a backend-only change. knowhere-self-hosted now bundles ffmpeg and media defaults in its container image, and the Dashboard UI plus the official Python and Node.js SDKs have been updated for media formats and time_ranges citations.

  • More recent additions (and what’s next): Our November releases also added support for .gif, .webp, .bmp, .tif/.tiff, and .heic/.heif images and exposed Knowhere’s agent retrieval tools directly through the API. Next up on the roadmap: .srt/.vtt subtitles, .epub, and .xml.

Try It Out

  • Hosted Cloud: Sign up at knowhereto.ai with $5 in free credits — drop in a meeting recording or a narrated .pptx and see how it parses.

  • Self-Hosted (Apache-2.0): Clone knowhere-self-hosted and bring the stack up with Docker Compose. To enable audio/video and embedded PPTX transcription, add your ALI_API_KEYS (Alibaba Cloud DashScope Fun-ASR) to .env.

Check out the repo on GitHub: github.com/Ontos-AI/knowhere

If your knowledge base is sitting on hours of meeting recordings or training videos nobody wants to re-listen to, give it a spin. File an issue if you hit any edge cases or want to request a format — and if Knowhere saves you time, a ⭐ Star on GitHub goes a long way.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.