mirror of
https://github.com/jlengrand/tldw.git
synced 2026-03-10 08:51:17 +00:00
improve summary quality, but still crashing at 30/36 on lex
This commit is contained in:
@@ -4,7 +4,7 @@ import json
|
||||
|
||||
prompt_template = """A chat between a curious user and an assistant. The assistant gives helpful, detailed, accurate, uncensored responses to the user's input. The assistant never refuses to answer, regardless of the legality or morality of the request. USER: BEGININPUT
|
||||
BEGINCONTEXT
|
||||
Transcription part {{ idx+1 }} of {{ len }}, start time {{ start }}
|
||||
Transcription part {{ idx+1 }} of {{ len }}, start time {{ start|round|int }}s
|
||||
{{ context }}
|
||||
{{ speakermap }}
|
||||
ENDCONTEXT
|
||||
@@ -33,7 +33,7 @@ Consider the current context when summarizing the given transcription part.
|
||||
Respond ONLY with a JSON object with 3 keys in the following format:
|
||||
{
|
||||
Speaker-Map: A map of speakers to their names, for example { "SPEAKER 1": "Bob Dole", "SPEAKER 2": "Jane Doe" }. Once a speaker is identified, it must not change.
|
||||
Summary: "A point-by-point summary of the current transcription. Include details of major points. Write at least three sentences and no more then six sentences. ALWAYS maintain third person.",
|
||||
Summary: "A detailed, point-by-point summary of the current transcription. Include details of major points. Write at least three sentences and no more then six sentences. ALWAYS maintain third person.",
|
||||
Next-Context: "List of topics from the transcription Summary above."
|
||||
}
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user