File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
src/Return.Web/Components Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -290,23 +290,24 @@ protected async Task AutoGroupNotes()
290290 )
291291 ] ,
292292 ToolMode = ChatToolMode . RequireSpecific ( "Create note group" ) ,
293- TopP = 1.2f ,
294- TopK = 25
293+ TopP = 0.9f ,
294+ Temperature = 0.2f ,
295+ TopK = 10
295296 } ;
296297
297298 List < ChatMessage > chatMessages =
298299 [
299300 new (
300301 ChatRole . System ,
301- $@ "Please group similar notes together using the following constraints:
302- 1. Only group notes that fit in a group.
303- 2. If a note cannot be grouped together with multiple other notes, then ignore .
304- 3. Only group notes with the same subject .
305- 4. To group notes, invoke the ""Create note group"" tool .
306- 5. Do not to put a single note in multiple groups .
307- 6. Give each group a title of 5 words maximum that summarizes the notes in the group .
308-
309- What now follows is a list of notes to divide into groups. Do not response with a summary, please invoke the tool.
302+ $@ "
303+ Your task is to group notes by subject and create groups with the following rules:
304+ - Only group notes that clearly belong together by subject .
305+ - Ignore any note that does not fit into a group .
306+ - Do not include the same note in more than one group .
307+ - Assign each group a concise title (maximum of 5 words) summarizing its content .
308+ - Use the ""Create note group"" tool to make the groups .
309+
310+ What now follows is a list of notes to divide into groups. Do not response with a summary, invoke the tool.
310311Each note is starts with [NOTE ID]. Each note ends with [END NOTE].
311312
312313Example note with ID 123:
You can’t perform that action at this time.
0 commit comments