Фиксирую состояние
This commit is contained in:
+16
@@ -162,6 +162,22 @@ cases:
|
||||
intent: GENERAL_QA
|
||||
sub_intent: SUMMARY
|
||||
|
||||
- id: v2-router-openapi-01-project
|
||||
query: "Сгенерируй OpenAPI спецификацию по API проекта"
|
||||
expected:
|
||||
router:
|
||||
domain: DOCS
|
||||
intent: DOC_EXPLAIN
|
||||
sub_intent: OPENAPI_GENERATE
|
||||
|
||||
- id: v2-router-openapi-02-domain
|
||||
query: "Сгенерируй YAML OpenAPI по API домена runtime"
|
||||
expected:
|
||||
router:
|
||||
domain: DOCS
|
||||
intent: DOC_EXPLAIN
|
||||
sub_intent: OPENAPI_GENERATE
|
||||
|
||||
- id: v2-router-find-files-01-health
|
||||
query: "В каком файле описан `/health`?"
|
||||
expected:
|
||||
|
||||
+23
@@ -219,6 +219,29 @@ cases:
|
||||
layers: [D1_DOCUMENT_CATALOG, D0_DOC_CHUNKS]
|
||||
limit: 8
|
||||
|
||||
- id: docs-openapi-domain-scope
|
||||
route:
|
||||
routing_domain: DOCS
|
||||
intent: DOC_EXPLAIN
|
||||
subintent: OPENAPI_GENERATE
|
||||
user_query: "Сгенерируй OpenAPI для runtime"
|
||||
normalized_query: "сгенерируй openapi для runtime"
|
||||
target_terms: ["runtime"]
|
||||
anchors:
|
||||
process_domain: runtime
|
||||
process_subdomain: health
|
||||
endpoint_paths: []
|
||||
target_doc_hints: []
|
||||
expected:
|
||||
plan:
|
||||
profile: openapi_generate
|
||||
layers: [D1_DOCUMENT_CATALOG]
|
||||
limit: 1000
|
||||
filters:
|
||||
metadata.type: api_method
|
||||
metadata.domain: runtime
|
||||
metadata.subdomain: health
|
||||
|
||||
- id: find-files-stays-file-lookup-on-mixed-signals
|
||||
route:
|
||||
routing_domain: DOCS
|
||||
|
||||
@@ -178,3 +178,25 @@ cases:
|
||||
contains_all:
|
||||
- "не найден"
|
||||
- "документ"
|
||||
|
||||
- id: full-t09-openapi-health
|
||||
query: "Сгенерируй YAML OpenAPI для /health"
|
||||
expected:
|
||||
router:
|
||||
domain: DOCS
|
||||
intent: DOC_EXPLAIN
|
||||
sub_intent: OPENAPI_GENERATE
|
||||
route:
|
||||
anchors:
|
||||
endpoint_paths_contains:
|
||||
- "/health"
|
||||
retrieval_plan:
|
||||
profile: openapi_generate
|
||||
pipeline:
|
||||
answer_mode: openapi_yaml
|
||||
llm:
|
||||
non_empty: true
|
||||
contains_all:
|
||||
- "```yaml"
|
||||
- "openapi:"
|
||||
- "paths:"
|
||||
|
||||
Reference in New Issue
Block a user