Question 330
A finance application needs deterministic machine-readable response fields from model inference. What should the SQL developer do FIRST to address the specific issue?
Explanation
Correct Answer
Prefer a model and API mode supporting validated structured output and enforce schema checks. This targets the primary issue because unconstrained prose is fragile to parse and can omit required keys. Verification: Sample calls produce valid JSON schema instances or explicit errors. Prevent recurrence: Reject unexpected fields and never trust generated totals without validation.
Incorrect Answers
Model size increases cost and latency without guaranteeing proportional quality gains.
Vector dimensionality is fixed by the column and must match the query vector.
IDs alone lack the natural-language signal needed for semantic retrieval.