You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"When Query Fields are provided, prioritize incorporating them into the generated query.";
35
+
34
36
publicstaticfinalStringOUTPUT_FORMAT_INSTRUCTIONS = "Output format: Output only a valid escaped JSON string or the literal \n"
35
37
+ DEFAULT_QUERY
36
38
+ " \nReturn exactly one JSON object. "
37
39
+ "Output nothing before or after it — no code fences/backticks (`), angle brackets (< >), hash marks (#), asterisks (*), pipes (|), tildes (~), ellipses (… or ...), emojis, typographic quotes (\"\"), non-breaking spaces (U+00A0), zero-width characters (U+200B, U+FEFF), or any other markup/control characters. "
38
40
+ "Use valid JSON only (standard double quotes \"; no comments; no trailing commas). "
39
41
+ "This applies to formatting only, string values inside the JSON may contain any needed Unicode characters. \n"
40
42
+ "Follow the examples below. \n"
43
+
+ USE_QUERY_FIELDS_INSTRUCTION
41
44
+ "Fallback: If the request cannot be fulfilled with the mapping (missing field, unsupported feature, etc.), \n"
42
45
+ "output the literal string: "
43
46
+ DEFAULT_QUERY;
44
47
45
48
// Individual example constants for better maintainability
46
49
publicstaticfinalStringEXAMPLE_1 = "Example 1 — numeric range \n"
47
50
+ "Input: Show all products that cost more than 50 dollars. \n"
0 commit comments