MotherDuck
YouTube
How I Analyzed 1k+ Interview Transcripts with Jev & MotherDuck
The speaker demonstrates how to turn thousands of raw interview transcripts into actionable insights using a data‑centric AI workflow. By loading the data into MotherDoc, discovering themes with an LLM, and classifying them with the lightweight Jev decision model, the process automates theme extraction and quote linking. This approach solves the problem of manually reading and coding interview data, saving time and reducing bias for researchers, product managers, and data analysts. The workflow showcases how to combine Python, SQL, and LLMs in a reusable recipe that can be adapted to any text corpus.
Insights
1. Leveraging MotherDoc’s “Dive” for interactive data apps
1.1 Definition: a visual, LLM‑driven app that sits on top of a data set
1.2 When to use: when you need quick dashboards and data exploration without writing code
1.3 Example: building a theme explorer that auto‑generates charts
1.4 Tradeoff: requires a pre‑built recipe and may limit custom visualizations
2. Using Python “Flight” to ingest and transform raw transcripts
2.1 Definition: a Python runtime within MotherDoc that can load data, call APIs, and perform transformations
2.2 When to use: for complex preprocessing like splitting transcripts into answers or enriching metadata
2.3 Example: loading 1,250 interviews and auto‑splitting into 1.4M answers
2.4 Common mistake: neglecting to persist schema changes back to MotherDoc
3. AI SQL functions (prompt, prompt_jab) for model calls directly from SQL
3.1 Definition: built‑in SQL functions that send prompts to an LLM and return results
3.2 When to use: when you want to run inference on large data sets without leaving the database
3.3 Example: classifying each answer with a prompt
3.4 Tradeoff: higher latency per row and cost per token
4. Theme discovery with LLMs and iterative refinement
4.1 Definition: letting an LLM scan a sample of responses to generate a codebook of themes
4.2 When to use: initial exploratory phase to surface patterns
4.3 Example: generating six themes around work practices
4.4 Pitfall: over‑fitting to sample size, leading to missing rare themes
5. Fast decision model Jev for cost‑effective classification
5.1 Definition: a lightweight model that runs quick rule‑based or small‑model decisions on text
5.2 When to use: after generating prompts with GPT, to classify the full data set cheaply
5.3 Example: classifying 1.4M answers into five themes
5.4 Tradeoff: less accuracy than large GPT but orders of magnitude cheaper
6. Linking insights back to original quotes and metadata
6.1 Definition: each insight includes the source quote and document reference
6.2 When to use: for auditability and qualitative validation
6.3 Example: an insight about creative ideation cites the exact interview excerpt
6.4 Common mistake: discarding source links during export, losing traceability
1.1 Definition: a visual, LLM‑driven app that sits on top of a data set
1.2 When to use: when you need quick dashboards and data exploration without writing code
1.3 Example: building a theme explorer that auto‑generates charts
1.4 Tradeoff: requires a pre‑built recipe and may limit custom visualizations
2. Using Python “Flight” to ingest and transform raw transcripts
2.1 Definition: a Python runtime within MotherDoc that can load data, call APIs, and perform transformations
2.2 When to use: for complex preprocessing like splitting transcripts into answers or enriching metadata
2.3 Example: loading 1,250 interviews and auto‑splitting into 1.4M answers
2.4 Common mistake: neglecting to persist schema changes back to MotherDoc
3. AI SQL functions (prompt, prompt_jab) for model calls directly from SQL
3.1 Definition: built‑in SQL functions that send prompts to an LLM and return results
3.2 When to use: when you want to run inference on large data sets without leaving the database
3.3 Example: classifying each answer with a prompt
3.4 Tradeoff: higher latency per row and cost per token
4. Theme discovery with LLMs and iterative refinement
4.1 Definition: letting an LLM scan a sample of responses to generate a codebook of themes
4.2 When to use: initial exploratory phase to surface patterns
4.3 Example: generating six themes around work practices
4.4 Pitfall: over‑fitting to sample size, leading to missing rare themes
5. Fast decision model Jev for cost‑effective classification
5.1 Definition: a lightweight model that runs quick rule‑based or small‑model decisions on text
5.2 When to use: after generating prompts with GPT, to classify the full data set cheaply
5.3 Example: classifying 1.4M answers into five themes
5.4 Tradeoff: less accuracy than large GPT but orders of magnitude cheaper
6. Linking insights back to original quotes and metadata
6.1 Definition: each insight includes the source quote and document reference
6.2 When to use: for auditability and qualitative validation
6.3 Example: an insight about creative ideation cites the exact interview excerpt
6.4 Common mistake: discarding source links during export, losing traceability