58 lines
2.8 KiB
JSON
58 lines
2.8 KiB
JSON
{
|
|
"generated_at": "2026-04-06T10:54:33.255759",
|
|
"embedding_model": "bge-m3:latest",
|
|
"index_name": "avap-knowledge-v2-qwen",
|
|
"result": {
|
|
"status": "ok",
|
|
"questions_evaluated": 5,
|
|
"elapsed_seconds": 52.5,
|
|
"judge_model": "claude-sonnet-4-20250514",
|
|
"index": "avap-knowledge-v2-qwen",
|
|
"category_filter": "all",
|
|
"scores": {
|
|
"faithfulness": 0.58,
|
|
"answer_relevancy": 0.6678,
|
|
"context_recall": 0.419,
|
|
"context_precision": 0.3733
|
|
},
|
|
"global_score": 0.51,
|
|
"verdict": "INSUFFICIENT",
|
|
"details": [
|
|
{
|
|
"id": "GD-001",
|
|
"category": "RETRIEVAL",
|
|
"question": "What is AVAP and what is it designed for?",
|
|
"answer_preview": "AVAP is a new proprietary language. The provided context does not contain specific information about the purpose or design of AVAP. Therefore, I don't have enough information in the given context to answer that question.",
|
|
"n_chunks": 5
|
|
},
|
|
{
|
|
"id": "GD-002",
|
|
"category": "RETRIEVAL",
|
|
"question": "How does AVAP handle conditional logic? What commands are used and how are blocks closed?",
|
|
"answer_preview": "AVAP handles conditional logic using the `if()` function, which can be invoked in two ways:\n\n1. **Mode 1 (Structured Comparison):** The syntax is `if(variable, value, comparison)`, where:\n - `variable` or `value` must be a simple identifier or literal.\n - The comparison should use a string repre",
|
|
"n_chunks": 5
|
|
},
|
|
{
|
|
"id": "GD-003",
|
|
"category": "CODE_GENERATION",
|
|
"question": "Write an AVAP script that reads a 'password' parameter, generates a SHA-256 hash of it, and returns the hash.",
|
|
"answer_preview": "```avap\naddParam(\"password\", password)\nencodeSHA256(password, hashed_password)\nreturn hashed_password\n```",
|
|
"n_chunks": 5
|
|
},
|
|
{
|
|
"id": "GD-004",
|
|
"category": "CODE_GENERATION",
|
|
"question": "Show an AVAP script that loops from 1 to 5, builds a JSON object with each iteration index as a key, and returns it.",
|
|
"answer_preview": "```javascript\n// Example of an AVAP script\n\nlet data = {};\n\nfor (let i = 1; i <= 5; i++) {\n let jsonKey = `key${i}`;\n data[jsonKey] = i;\n}\n\nreturn JSON.stringify(data);\n```",
|
|
"n_chunks": 5
|
|
},
|
|
{
|
|
"id": "GD-005",
|
|
"category": "RETRIEVAL",
|
|
"question": "How does AVAP support external HTTP calls? What commands are available and how is timeout handled?",
|
|
"answer_preview": "AVAP supports external HTTP calls through the `RequestPost` and `RequestGet` functions. The `RequestPost` function executes a POST request, while the `RequestGet` function performs a GET request.\n\nTimeout handling in AVAP involves specifying a `timeout` parameter when making an HTTP call using eithe",
|
|
"n_chunks": 5
|
|
}
|
|
]
|
|
}
|
|
} |