feat: extract prompts and allow for conditional prompts

This commit is contained in:
Gigi
2025-03-29 19:27:01 +00:00
parent 45ea0764fa
commit bdf86a7aab
2 changed files with 12 additions and 7 deletions

View File

@@ -1,14 +1,16 @@
Please provide a concise summary of the following transcript.
Focus on the main topics, key points, and any action items or decisions mentioned.
Focus on the main topics, key talking points, and any action items or decisions mentioned.
Keep the summary short, clear, and well-structured.
Transcript:
{transcript}
Summary:
{summary}
Extract the action items and list them as markdown-style checkbox items, like this:
```
Action items:
- [ ] Item one
- [ ] Item two
- [ ] ...
- [ ] Item three
- [ ] ...
```
Transcript:
{transcript}

View File

@@ -39,6 +39,9 @@ def process_transcript(transcript_text: str) -> str:
}
])
# Debug print
print("Response structure:", response)
# Extract the content from the response
return response['message']['content'].strip()