atlasbot: enforce question nouns in signals
This commit is contained in:
parent
b69230973a
commit
13f1299af6
@ -272,6 +272,7 @@ FACT_TYPES_SYSTEM = (
|
|||||||
|
|
||||||
FACT_TYPES_PROMPT = (
|
FACT_TYPES_PROMPT = (
|
||||||
"Return JSON with field: fact_types (list of short noun phrases). "
|
"Return JSON with field: fact_types (list of short noun phrases). "
|
||||||
|
"Include at least one entry derived directly from the question wording (verbatim nouns). "
|
||||||
"Keep each entry short and concrete (e.g., \"node pressure flags\", \"hardware class counts\", \"postgres connections\")."
|
"Keep each entry short and concrete (e.g., \"node pressure flags\", \"hardware class counts\", \"postgres connections\")."
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -284,7 +285,8 @@ SIGNAL_SYSTEM = (
|
|||||||
SIGNAL_PROMPT = (
|
SIGNAL_PROMPT = (
|
||||||
"Question: {question}\nFactTypes: {fact_types}\n"
|
"Question: {question}\nFactTypes: {fact_types}\n"
|
||||||
"Return JSON with field: signals (list). "
|
"Return JSON with field: signals (list). "
|
||||||
"Signals should be brief phrases or tokens that might appear in snapshot lines."
|
"Signals should be brief phrases or tokens that might appear in snapshot lines. "
|
||||||
|
"Always include the key nouns from the question as-is."
|
||||||
)
|
)
|
||||||
|
|
||||||
CHUNK_SCAN_SYSTEM = (
|
CHUNK_SCAN_SYSTEM = (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user