From 40f7620a43684ace41b0aa44e20c8ed1dc8eab00 Mon Sep 17 00:00:00 2001 From: Angelo D'Ambrosio Date: Thu, 11 Apr 2024 11:43:29 +0200 Subject: [PATCH] feat: manage deviations from the expected agenda to let the LLM to add talks not described in the expected agenda --- R/prompts.R | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/R/prompts.R b/R/prompts.R index 0865d03..059c959 100644 --- a/R/prompts.R +++ b/R/prompts.R @@ -651,6 +651,14 @@ The transcript is formatted as a csv with the start and end time of each segment } ###', + if (!is.null(args$expected_agenda_element)) { + paste("The event expected agenda is the following, so try to match the extracted talk to this structure. But feel free to describe a novel element if you cannot find a logical match, since there could have been unexpected changes in the agenda: ###\n", + args$expected_agenda_element, + "\n###") + }, + + "Provide your output.", + sep = "\n\n" ) }