mirror of
https://github.com/aljazceru/vibeline.git
synced 2026-01-18 05:54:22 +01:00
feat: extract prompts and allow for conditional prompts
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user