extract_lessons_from_transcript
Extracts candidate lessons from transcripts by returning cleaned text, project scopes, existing lessons, and a lesson template for duplicate detection and proposal drafting.
Instructions
Return everything the calling LLM needs to extract candidate lessons from a transcript: the clean text, the project's scope chain with attributes, existing lessons for duplicate detection, and the canonical lesson template. Does not itself create any proposal — call create_pending_proposal per candidate.
Access level: analyze. Returns: JSON with clean_text, scopes, existing_lessons, template, and an instruction_for_client.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Raw transcript text; private tags are stripped automatically. | |
| project_id | Yes | Project id used to resolve scopes and existing lessons. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |