Spaces:
Running
Running
File size: 1,799 Bytes
b6b8e8b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | version: 2
defaults:
temperature: 0.1
max_tokens: 8192
timeout_seconds: 300
retry_policy:
retryable_errors:
- rate_limit
- timeout
- connection
- server_error
non_retryable_errors:
- invalid_request
- authentication
agents:
ocr:
name: ocr
description: "Visual OCR for math and geometry problems. Default: high-precision direct VLM."
ocr_engine: vlm # Options: 'vlm' (default direct multimodal VLM, 0 RAM/CPU, accurate Vietnamese) | 'pix2text' (local OCR engine with confidence gateway)
tiers:
- model: gemini/gemini-3.5-flash-lite
max_attempts: 1
reasoning_effort: low
temperature: 0.1
max_tokens: 4096
timeout_seconds: 60
confidence_gateway:
enabled: true
threshold: 0.85
correction:
enabled: true
model: gemini/gemini-3.5-flash-lite
temperature: 0.1
max_tokens: 4096
timeout_seconds: 60
max_attempts: 1
reasoning_effort: low
geometry_parser:
name: geometry_parser
description: "Semantic geometry parsing and Geometry DSL generation"
tiers:
- model: gemini/gemini-3.5-flash-lite
max_attempts: 1
reasoning_effort: low
- model: gemini/gemini-3.5-flash
max_attempts: 1
reasoning_effort: medium
temperature: 0.1
max_tokens: 16384
timeout_seconds: 120
reasoning_solver:
name: reasoning_solver
description: "Program-aided mathematical reasoning with SymPy verification"
tiers:
- model: gemini/gemini-3.6-flash
max_attempts: 1
reasoning_effort: high
- model: gemini/gemini-3.7-flash
max_attempts: 1
reasoning_effort: high
temperature: 0.1
max_tokens: 16384
timeout_seconds: 120
|