notebooklm-py-analysis/docs
Teng Lin 6a6e1a9484
fix(notebooks): correct SUMMARIZE response parsing (fixes #147) (#150)
* fix(notebooks): correct SUMMARIZE response parsing for get_description/get_summary

The VfAZjd (SUMMARIZE) RPC returns a triple-nested structure:
  result = [[[summary_string], [[topics]], ...]]

The previous parsing assumed:
- Summary at result[0][0] (a string) — actually a list
- Topics at result[1][0] — actually at result[0][1][0]

This caused get_description() to always return an empty summary and no
suggested topics, showing "No summary available" in the CLI.

Fixed parsing to use:
- Summary: result[0][0][0]
- Topics:  result[0][1][0]

Updated all affected unit/integration tests to use the correct response
structure (confirmed against the real API cassette in notebooks_get_summary.yaml).

Fixes #147

* test(e2e): strengthen summary assertions to catch empty results

* refactor(notebooks): simplify SUMMARIZE response parsing per review feedback

* docs(rpc-reference): fix SUMMARIZE response structure (triple-nested)
2026-03-04 10:33:42 -05:00
..
examples refactor: use ArtifactType enum instead of ARTIFACT_TYPE_MAP (#61) 2026-01-20 21:29:00 -05:00
cli-reference.md chore: release v0.3.3 (#142) 2026-03-03 11:17:29 -08:00
configuration.md docs: comprehensive documentation update for full feature coverage 2026-01-20 20:02:24 -05:00
development.md docs: reorder Testing sections for better flow 2026-01-20 22:34:14 -05:00
python-api.md chore: release v0.3.3 (#142) 2026-03-03 11:17:29 -08:00
releasing.md chore: release v0.3.3 (#142) 2026-03-03 11:17:29 -08:00
rpc-development.md docs: comprehensive documentation update for full feature coverage 2026-01-20 20:02:24 -05:00
rpc-reference.md fix(notebooks): correct SUMMARIZE response parsing (fixes #147) (#150) 2026-03-04 10:33:42 -05:00
stability.md chore: release v0.3.0 (#67) 2026-01-21 10:32:10 -05:00
troubleshooting.md docs: Add troubleshooting guide for X.com/Twitter content parsing issues 2026-02-22 14:59:30 +08:00