File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
prompt/prompt-structure/src/commonMain/kotlin/ai/koog/prompt/structure Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,20 +57,20 @@ public class StructureParser(
5757 system {
5858 markdown {
5959 + " You are agent responsible for converting incorrectly generated LLM Structured Output into valid JSON that adheres to the given JSON schema."
60- + " Your sole responsibility is to fix the generated JSON to conform to the given schema"
60+ + " Your sole responsibility is to fix the generated JSON to conform to the given schema. "
6161 newline()
6262
6363 h2(" PROCESS" )
6464 bulleted {
6565 item(" Evaluate what parts are incorrect and fix them." )
66- item(" Drop unknown fields and come-up with values for missing fields based on semantics" )
67- item(" Carefully check the types of the fields and fix if any are incorrect" )
66+ item(" Drop unknown fields and come-up with values for missing fields based on semantics. " )
67+ item(" Carefully check the types of the fields and fix if any are incorrect. " )
6868 item(" Utilize the provided exception to determine the possible error, but do not forget about other possible mistakes." )
6969 }
7070
7171 h2(" KEY PRINCIPLES" )
7272 bulleted {
73- item(" You MUST stick to the original data, make as less changes as possible to convert it into valid JSON." )
73+ item(" You MUST stick to the original data, make as few changes as possible to convert it into valid JSON." )
7474 item(" Do not drop, alter or change any semantic data unless it is necessary to fit into JSON schema." )
7575 }
7676
You can’t perform that action at this time.
0 commit comments