ДОМЕНЫ - ВОПРОСЫ - СКЛАД - Систематизировать ответы по поставщику без поставок через анализ оплат и возвратов
This commit is contained in:
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"schema_version": "domain_truth_harness_spec_v1",
|
||||
"scenario_id": "address_truth_harness_targeted_counterparty_tails",
|
||||
"domain": "address_targeted_counterparty_tails",
|
||||
"title": "Targeted live replay for counterparty documents, shipment items, inventory reset, and account-60 tails",
|
||||
"description": "Strict short replay for the current targeted regressions without a full long-session autorun.",
|
||||
"bindings": {},
|
||||
"steps": [
|
||||
{
|
||||
"step_id": "step_01_documents_by_counterparty",
|
||||
"title": "Counterparty documents with normalized name",
|
||||
"question": "покажи все документы по чапурнову",
|
||||
"allowed_reply_types": [
|
||||
"factual",
|
||||
"factual_with_explanation"
|
||||
],
|
||||
"expected_intents": [
|
||||
"list_documents_by_counterparty"
|
||||
],
|
||||
"required_direct_answer_patterns_any": [
|
||||
"(?i)контрагент:",
|
||||
"(?i)чапурнов"
|
||||
]
|
||||
},
|
||||
{
|
||||
"step_id": "step_02_counterparty_item_flow",
|
||||
"title": "Counterparty shipment items",
|
||||
"question": "что нам отгружал чапурнов? какой товар или услугу?",
|
||||
"allowed_reply_types": [
|
||||
"factual"
|
||||
],
|
||||
"expected_intents": [
|
||||
"list_documents_by_counterparty"
|
||||
],
|
||||
"required_direct_answer_patterns_any": [
|
||||
"(?i)контрагент:",
|
||||
"(?i)позиции:",
|
||||
"(?i)чапурнов"
|
||||
],
|
||||
"forbidden_direct_answer_patterns": [
|
||||
"(?i)^по текущим условиям в доступном срезе данных совпадений не нашлось",
|
||||
"(?i)^сейчас не дам прямой адресный ответ"
|
||||
]
|
||||
},
|
||||
{
|
||||
"step_id": "step_03_inventory_reset",
|
||||
"title": "Inventory root after counterparty thread",
|
||||
"question": "какие остатки на складе на сегодня?",
|
||||
"allowed_reply_types": [
|
||||
"factual"
|
||||
],
|
||||
"expected_intents": [
|
||||
"inventory_on_hand_as_of_date"
|
||||
],
|
||||
"required_direct_answer_patterns_any": [
|
||||
"(?i)на складе",
|
||||
"(?i)остат"
|
||||
],
|
||||
"forbidden_direct_answer_patterns": [
|
||||
"(?i)чапурнов",
|
||||
"(?i)контрагент:"
|
||||
]
|
||||
},
|
||||
{
|
||||
"step_id": "step_04_open_items_account_60",
|
||||
"title": "Account 60 tails for August 2022",
|
||||
"question": "хвосты покажи по счету 60 на август 2022",
|
||||
"allowed_reply_types": [
|
||||
"factual",
|
||||
"factual_with_explanation"
|
||||
],
|
||||
"expected_intents": [
|
||||
"open_items_by_counterparty_or_contract"
|
||||
],
|
||||
"required_filters": {
|
||||
"account": "60",
|
||||
"period_from": "2022-08-01",
|
||||
"period_to": "2022-08-31",
|
||||
"as_of_date": "2022-08-31"
|
||||
},
|
||||
"required_direct_answer_patterns_any": [
|
||||
"(?i)счету 60",
|
||||
"(?i)хвост"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user