{
"make": "Ford",
"model": "Fusion",
"year": null,
"generation": "1st generation",
"body_type": "hatchback",
"note": null,
"source": "ai_candidate_unmapped"
}
{
"primary_model": "gpt-4.1-mini",
"fallback_model": "gpt-4.1",
"used_model": "gpt-4.1-mini",
"attempt_label": "primary",
"is_fallback_attempt": false,
"fallback_reason": null,
"duration_ms": 23350,
"http_status": 200,
"response": {
"id": "resp_08879cb2c84c697e006a04412fae20819bb04ad6223f4050c2",
"object": "response",
"created_at": 1778663727,
"status": "completed",
"background": false,
"billing": {
"payer": "developer"
},
"completed_at": 1778663749,
"error": null,
"frequency_penalty": 0,
"incomplete_details": null,
"instructions": null,
"max_output_tokens": null,
"max_tool_calls": null,
"model": "gpt-4.1-mini-2025-04-14",
"moderation": null,
"output": [
{
"id": "msg_08879cb2c84c697e006a04413bd894819bb8a06a52bad00bde",
"type": "message",
"status": "completed",
"content": [
{
"type": "output_text",
"annotations": [],
"logprobs": [],
"text": "{\"vehicle\":{\"top_candidate\":{\"make\":\"Ford\",\"model\":\"Fusion\",\"generation\":\"1st generation\",\"year_from\":2002,\"year_to\":2012,\"body_type\":\"hatchback\",\"confidence\":0.9},\"candidates\":[{\"make\":\"Ford\",\"model\":\"Fusion\",\"generation\":\"1st generation\",\"year_from\":2002,\"year_to\":2012,\"body_type\":\"hatchback\",\"confidence\":0.9}],\"needs_user_confirmation\":true},\"detected_parts\":[{\"raw_part_name\":\"left front headlight\",\"normalized_part_name\":\"headlight\",\"category_key\":\"lighting\",\"side\":\"left\",\"position\":\"front\",\"image_role\":\"front\",\"damage_type\":\"broken\",\"damage_severity\":\"severe\",\"confidence\":0.95},{\"raw_part_name\":\"front bumper\",\"normalized_part_name\":\"bumper\",\"category_key\":\"bumper\",\"side\":\"center\",\"position\":\"front\",\"image_role\":\"front\",\"damage_type\":\"cracked\",\"damage_severity\":\"severe\",\"confidence\":0.9},{\"raw_part_name\":\"left front fender\",\"normalized_part_name\":\"fender\",\"category_key\":\"body\",\"side\":\"left\",\"position\":\"front\",\"image_role\":\"front\",\"damage_type\":\"dented\",\"damage_severity\":\"severe\",\"confidence\":0.9}],\"image_quality\":{\"front\":\"good\",\"rear\":\"good\",\"left\":\"good\",\"right\":\"good\"},\"warnings\":[\"Moguće je da su unutarnji dijelovi ispod lima također oštećeni, ali nisu vidljivi na fotografijama.\"],\"questions_for_user\":[\"Možete li potvrditi točan model i godinu vozila?\",\"Da li postoje dodatne fotografije unutrašnjosti motornog prostora ili drugih oštećenih dijelova?\"],\"overall_confidence\":0.88,\"needs_user_confirmation\":true}"
}
],
"role": "assistant"
}
],
"parallel_tool_calls": true,
"presence_penalty": 0,
"previous_response_id": null,
"prompt_cache_key": null,
"prompt_cache_retention": "in_memory",
"reasoning": {
"effort": null,
"summary": null
},
"safety_identifier": null,
"service_tier": "default",
"store": true,
"temperature": 1,
"text": {
"format": {
"type": "json_schema",
"description": null,
"name": "ai_vehicle_analysis",
"schema": {
"type": "object",
"additionalProperties": false,
"required": [
"vehicle",
"detected_parts",
"image_quality",
"warnings",
"questions_for_user",
"overall_confidence",
"needs_user_confirmation"
],
"properties": {
"vehicle": {
"type": "object",
"additionalProperties": false,
"required": [
"top_candidate",
"candidates",
"needs_user_confirmation"
],
"properties": {
"top_candidate": {
"type": "object",
"additionalProperties": false,
"required": [
"make",
"model",
"generation",
"year_from",
"year_to",
"body_type",
"confidence"
],
"properties": {
"make": {
"type": "string"
},
"model": {
"type": "string"
},
"generation": {
"type": "string"
},
"year_from": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"year_to": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"body_type": {
"type": "string"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
}
}
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"make",
"model",
"generation",
"year_from",
"year_to",
"body_type",
"confidence"
],
"properties": {
"make": {
"type": "string"
},
"model": {
"type": "string"
},
"generation": {
"type": "string"
},
"year_from": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"year_to": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"body_type": {
"type": "string"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
}
}
}
},
"needs_user_confirmation": {
"type": "boolean"
}
}
},
"detected_parts": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"raw_part_name",
"normalized_part_name",
"category_key",
"side",
"position",
"image_role",
"damage_type",
"damage_severity",
"confidence"
],
"properties": {
"raw_part_name": {
"type": "string"
},
"normalized_part_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"category_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"side": {
"type": "string",
"enum": [
"left",
"right",
"center",
"both",
"unknown",
"not_applicable"
]
},
"position": {
"type": "string",
"enum": [
"front",
"rear",
"side",
"upper",
"lower",
"interior",
"unknown"
]
},
"image_role": {
"type": "string",
"enum": [
"front",
"rear",
"left",
"right",
"extra",
"damage_detail",
"unknown"
]
},
"damage_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"damage_severity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
}
}
}
},
"image_quality": {
"type": "object",
"additionalProperties": false,
"required": [
"front",
"rear",
"left",
"right"
],
"properties": {
"front": {
"type": "string",
"enum": [
"good",
"medium",
"poor",
"unknown"
]
},
"rear": {
"type": "string",
"enum": [
"good",
"medium",
"poor",
"unknown"
]
},
"left": {
"type": "string",
"enum": [
"good",
"medium",
"poor",
"unknown"
]
},
"right": {
"type": "string",
"enum": [
"good",
"medium",
"poor",
"unknown"
]
}
}
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"questions_for_user": {
"type": "array",
"items": {
"type": "string"
}
},
"overall_confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"needs_user_confirmation": {
"type": "boolean"
}
}
},
"strict": true
},
"verbosity": "medium"
},
"tool_choice": "auto",
"tools": [],
"top_logprobs": 0,
"top_p": 1,
"truncation": "disabled",
"usage": {
"input_tokens": 14772,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens": 371,
"output_tokens_details": {
"reasoning_tokens": 0
},
"total_tokens": 15143
},
"user": null,
"metadata": []
},
"ai_response": {
"vehicle": {
"top_candidate": {
"make": "Ford",
"model": "Fusion",
"generation": "1st generation",
"year_from": 2002,
"year_to": 2012,
"body_type": "hatchback",
"confidence": 0.90000000000000002220446049250313080847263336181640625
},
"candidates": [
{
"make": "Ford",
"model": "Fusion",
"generation": "1st generation",
"year_from": 2002,
"year_to": 2012,
"body_type": "hatchback",
"confidence": 0.90000000000000002220446049250313080847263336181640625
}
],
"needs_user_confirmation": true
},
"detected_parts": [
{
"raw_part_name": "left front headlight",
"normalized_part_name": "headlight",
"category_key": "lighting",
"side": "left",
"position": "front",
"image_role": "front",
"damage_type": "broken",
"damage_severity": "severe",
"confidence": 0.9499999999999999555910790149937383830547332763671875
},
{
"raw_part_name": "front bumper",
"normalized_part_name": "bumper",
"category_key": "bumper",
"side": "center",
"position": "front",
"image_role": "front",
"damage_type": "cracked",
"damage_severity": "severe",
"confidence": 0.90000000000000002220446049250313080847263336181640625
},
{
"raw_part_name": "left front fender",
"normalized_part_name": "fender",
"category_key": "body",
"side": "left",
"position": "front",
"image_role": "front",
"damage_type": "dented",
"damage_severity": "severe",
"confidence": 0.90000000000000002220446049250313080847263336181640625
}
],
"image_quality": {
"front": "good",
"rear": "good",
"left": "good",
"right": "good"
},
"warnings": [
"Moguće je da su unutarnji dijelovi ispod lima također oštećeni, ali nisu vidljivi na fotografijama."
],
"questions_for_user": [
"Možete li potvrditi točan model i godinu vozila?",
"Da li postoje dodatne fotografije unutrašnjosti motornog prostora ili drugih oštećenih dijelova?"
],
"overall_confidence": 0.88000000000000000444089209850062616169452667236328125,
"needs_user_confirmation": true
},
"parse_error": null
}
ai_candidate_unmapped,
ready_for_search=true,
product_search_ready=false,
search_mode=disabled/inquiry_only
| analysis_id | 41 |
|---|---|
| public_token | 3ed0bc548fe5e67fcfd51bd272e2fdf2 |
| status | confirmed |
| image_count | 6 |
| OPENAI_API_KEY_CONFIGURED | true |
| OPENAI_VISION_MODEL | gpt-4.1-mini |
| OPENAI_VISION_FALLBACK_MODEL | gpt-4.1 |
| last_ai_raw_log_id | 119 |
| last_ai_status | vision_response |
| last_model_used | gpt-4.1-mini |
| raw_vehicle_candidates_count | 2 |
|---|---|
| saved_vehicle_candidates_count | 1 |
| raw_part_candidates_count | 3 |
| saved_part_candidates_count | 3 |
| mapped_vehicle_candidates_count | 0 |
| mapped_part_candidates_count | 0 |
| selected_vehicle_candidate_id | 57 |
| selected_part_candidate_ids | [212,213,214] |
| Rank | Naziv | Godiste | Sigurnost | Mapirano | Status | Akcija |
|---|---|---|---|---|---|---|
| 1 | Ford Fusion 1st generation | 2002 - 2012 | 0.9000 (Visoka sigurnost) |
make: 17 model: null gen: null Nije mapirano na internu bazu vozila. |
top odabrano (korisnik/admin) nije mapirano | Dodaj vehicle alias |
| Rank | Dio | Strana/Pozicija | Image | Kategorija | Sigurnost | Status | Akcija |
|---|---|---|---|---|---|---|---|
| 1 |
left front headlight left front far |
left / front | front |
id: null key: lighting Nije mapirano na internu kategoriju. |
0.9500 (Visoka sigurnost) | odabrano needs confirm | Dodaj part alias |
| 2 |
front bumper front branik |
center / front | front |
id: null key: bumper Nije mapirano na internu kategoriju. |
0.9000 (Visoka sigurnost) | odabrano needs confirm | Dodaj part alias |
| 3 |
left front fender left front blatobran |
left / front | front |
id: null key: body Nije mapirano na internu kategoriju. |
0.9000 (Visoka sigurnost) | odabrano needs confirm | Dodaj part alias |
| Product code | Naziv | Kategorija | Cijena | Zaliha | Vozilo iz kataloga | Match score | Match reason |
|---|---|---|---|---|---|---|---|
| 2576311 | FD FUSION | BLATOBRANI/HAUBE/VEZNI LIMOVI | 188.47 | 0 | FUSION (JU_) | 100 | proizvodac odgovara, model odgovara, godiste je u rasponu, required kljucne rijeci su pronadene, pronadene su dodatne kljucne rijeci. |
{
"selected_part_candidate_ids": [
212,
213,
214
]
}
{
"unmapped_part_candidate_ids": [
212,
213,
214
]
}
{
"vehicle_source": "ai_candidate_unmapped",
"make_id": 17,
"model_id": null,
"generation_id": null,
"year_from": 2002,
"year_to": 2012,
"confirmed_vehicle_label": "FORD",
"manual_make": "Ford",
"manual_model": "Fusion",
"manual_year": null,
"manual_generation": "1st generation",
"manual_body_type": "hatchback",
"manual_note": null,
"parts": [
{
"category_id": null,
"category_key": "lighting",
"side": "left",
"position": "front",
"raw_part_name": "left front headlight",
"manual_note": null
},
{
"category_id": null,
"category_key": "bumper",
"side": "center",
"position": "front",
"raw_part_name": "front bumper",
"manual_note": null
},
{
"category_id": null,
"category_key": "body",
"side": "left",
"position": "front",
"raw_part_name": "left front fender",
"manual_note": null
}
],
"needs_manual_category_mapping": true,
"product_search_ready": false,
"ready_for_search": true
}
| ID | Vrijeme | broj_rezultata | kliknuti_proizvod_id | Filter JSON |
|---|---|---|---|---|
| Nema search logova. | ||||
{
"event": "inquiry_created",
"analysis_id": 41,
"inquiry_id": 14,
"has_phone": true,
"has_email": false,
"preferred_contact": "phone",
"selected_products_input_count": 0,
"selected_products_snapshot_count": 0,
"selected_products_saved_count": 0,
"selected_b2b_items_input_count": 1,
"selected_b2b_items_saved_count": 1
}
{
"ok": true,
"inquiry_id": 14,
"selected_products_snapshot_count": 0,
"selected_products_saved_count": 0,
"selected_b2b_items_saved_count": 1
}
{
"primary_model": "gpt-4.1-mini",
"fallback_model": "gpt-4.1",
"used_model": "gpt-4.1-mini",
"attempt_label": "primary",
"is_fallback_attempt": false,
"fallback_reason": null,
"duration_ms": 23350,
"http_status": 200,
"request": {
"model": "gpt-4.1-mini",
"input": [
{
"role": "user",
"content": [
{
"type": "input_text",
"text": "You analyze vehicle photos for an inquiry-only auto parts workflow.\nReturn only JSON that matches the provided schema.\nDo not suggest product IDs, OEM numbers, prices, or compatibility claims.\nAlways provide realistic confidence 0..1 values.\nVehicle candidates must describe make/model/generation when visible.\nDetected parts should only include visible parts likely related to the damage.\nIf uncertain, lower confidence and add warnings/questions_for_user.\nBusiness rule: always treat result as needs user confirmation.\nDamage detail photos are included; detected_parts should not be empty when visible damage exists.\nUI language for warnings/questions: hr."
},
{
"type": "input_text",
"text": "Image role: front"
},
{
"type": "input_image",
"image_url": "[image data redacted, length=47]",
"detail": "auto"
},
{
"type": "input_text",
"text": "Image role: rear"
},
{
"type": "input_image",
"image_url": "[image data redacted, length=47]",
"detail": "auto"
},
{
"type": "input_text",
"text": "Image role: left"
},
{
"type": "input_image",
"image_url": "[image data redacted, length=47]",
"detail": "auto"
},
{
"type": "input_text",
"text": "Image role: right"
},
{
"type": "input_image",
"image_url": "[image data redacted, length=47]",
"detail": "auto"
},
{
"type": "input_text",
"text": "Image role: damage_detail"
},
{
"type": "input_image",
"image_url": "[image data redacted, length=47]",
"detail": "auto"
},
{
"type": "input_text",
"text": "Image role: damage_detail"
},
{
"type": "input_image",
"image_url": "[image data redacted, length=47]",
"detail": "auto"
}
]
}
],
"text": {
"format": {
"type": "json_schema",
"name": "ai_vehicle_analysis",
"strict": true,
"schema": {
"type": "object",
"additionalProperties": false,
"required": [
"vehicle",
"detected_parts",
"image_quality",
"warnings",
"questions_for_user",
"overall_confidence",
"needs_user_confirmation"
],
"properties": {
"vehicle": {
"type": "object",
"additionalProperties": false,
"required": [
"top_candidate",
"candidates",
"needs_user_confirmation"
],
"properties": {
"top_candidate": {
"type": "object",
"additionalProperties": false,
"required": [
"make",
"model",
"generation",
"year_from",
"year_to",
"body_type",
"confidence"
],
"properties": {
"make": {
"type": "string"
},
"model": {
"type": "string"
},
"generation": {
"type": "string"
},
"year_from": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"year_to": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"body_type": {
"type": "string"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
}
}
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"make",
"model",
"generation",
"year_from",
"year_to",
"body_type",
"confidence"
],
"properties": {
"make": {
"type": "string"
},
"model": {
"type": "string"
},
"generation": {
"type": "string"
},
"year_from": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"year_to": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"body_type": {
"type": "string"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
}
}
}
},
"needs_user_confirmation": {
"type": "boolean"
}
}
},
"detected_parts": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"raw_part_name",
"normalized_part_name",
"category_key",
"side",
"position",
"image_role",
"damage_type",
"damage_severity",
"confidence"
],
"properties": {
"raw_part_name": {
"type": "string"
},
"normalized_part_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"category_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"side": {
"type": "string",
"enum": [
"left",
"right",
"center",
"both",
"unknown",
"not_applicable"
]
},
"position": {
"type": "string",
"enum": [
"front",
"rear",
"side",
"upper",
"lower",
"interior",
"unknown"
]
},
"image_role": {
"type": "string",
"enum": [
"front",
"rear",
"left",
"right",
"extra",
"damage_detail",
"unknown"
]
},
"damage_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"damage_severity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
}
}
}
},
"image_quality": {
"type": "object",
"additionalProperties": false,
"required": [
"front",
"rear",
"left",
"right"
],
"properties": {
"front": {
"type": "string",
"enum": [
"good",
"medium",
"poor",
"unknown"
]
},
"rear": {
"type": "string",
"enum": [
"good",
"medium",
"poor",
"unknown"
]
},
"left": {
"type": "string",
"enum": [
"good",
"medium",
"poor",
"unknown"
]
},
"right": {
"type": "string",
"enum": [
"good",
"medium",
"poor",
"unknown"
]
}
}
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"questions_for_user": {
"type": "array",
"items": {
"type": "string"
}
},
"overall_confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"needs_user_confirmation": {
"type": "boolean"
}
}
}
}
}
}
}
{
"primary_model": "gpt-4.1-mini",
"fallback_model": "gpt-4.1",
"used_model": "gpt-4.1-mini",
"attempt_label": "primary",
"is_fallback_attempt": false,
"fallback_reason": null,
"duration_ms": 23350,
"http_status": 200,
"response": {
"id": "resp_08879cb2c84c697e006a04412fae20819bb04ad6223f4050c2",
"object": "response",
"created_at": 1778663727,
"status": "completed",
"background": false,
"billing": {
"payer": "developer"
},
"completed_at": 1778663749,
"error": null,
"frequency_penalty": 0,
"incomplete_details": null,
"instructions": null,
"max_output_tokens": null,
"max_tool_calls": null,
"model": "gpt-4.1-mini-2025-04-14",
"moderation": null,
"output": [
{
"id": "msg_08879cb2c84c697e006a04413bd894819bb8a06a52bad00bde",
"type": "message",
"status": "completed",
"content": [
{
"type": "output_text",
"annotations": [],
"logprobs": [],
"text": "{\"vehicle\":{\"top_candidate\":{\"make\":\"Ford\",\"model\":\"Fusion\",\"generation\":\"1st generation\",\"year_from\":2002,\"year_to\":2012,\"body_type\":\"hatchback\",\"confidence\":0.9},\"candidates\":[{\"make\":\"Ford\",\"model\":\"Fusion\",\"generation\":\"1st generation\",\"year_from\":2002,\"year_to\":2012,\"body_type\":\"hatchback\",\"confidence\":0.9}],\"needs_user_confirmation\":true},\"detected_parts\":[{\"raw_part_name\":\"left front headlight\",\"normalized_part_name\":\"headlight\",\"category_key\":\"lighting\",\"side\":\"left\",\"position\":\"front\",\"image_role\":\"front\",\"damage_type\":\"broken\",\"damage_severity\":\"severe\",\"confidence\":0.95},{\"raw_part_name\":\"front bumper\",\"normalized_part_name\":\"bumper\",\"category_key\":\"bumper\",\"side\":\"center\",\"position\":\"front\",\"image_role\":\"front\",\"damage_type\":\"cracked\",\"damage_severity\":\"severe\",\"confidence\":0.9},{\"raw_part_name\":\"left front fender\",\"normalized_part_name\":\"fender\",\"category_key\":\"body\",\"side\":\"left\",\"position\":\"front\",\"image_role\":\"front\",\"damage_type\":\"dented\",\"damage_severity\":\"severe\",\"confidence\":0.9}],\"image_quality\":{\"front\":\"good\",\"rear\":\"good\",\"left\":\"good\",\"right\":\"good\"},\"warnings\":[\"Moguće je da su unutarnji dijelovi ispod lima također oštećeni, ali nisu vidljivi na fotografijama.\"],\"questions_for_user\":[\"Možete li potvrditi točan model i godinu vozila?\",\"Da li postoje dodatne fotografije unutrašnjosti motornog prostora ili drugih oštećenih dijelova?\"],\"overall_confidence\":0.88,\"needs_user_confirmation\":true}"
}
],
"role": "assistant"
}
],
"parallel_tool_calls": true,
"presence_penalty": 0,
"previous_response_id": null,
"prompt_cache_key": null,
"prompt_cache_retention": "in_memory",
"reasoning": {
"effort": null,
"summary": null
},
"safety_identifier": null,
"service_tier": "default",
"store": true,
"temperature": 1,
"text": {
"format": {
"type": "json_schema",
"description": null,
"name": "ai_vehicle_analysis",
"schema": {
"type": "object",
"additionalProperties": false,
"required": [
"vehicle",
"detected_parts",
"image_quality",
"warnings",
"questions_for_user",
"overall_confidence",
"needs_user_confirmation"
],
"properties": {
"vehicle": {
"type": "object",
"additionalProperties": false,
"required": [
"top_candidate",
"candidates",
"needs_user_confirmation"
],
"properties": {
"top_candidate": {
"type": "object",
"additionalProperties": false,
"required": [
"make",
"model",
"generation",
"year_from",
"year_to",
"body_type",
"confidence"
],
"properties": {
"make": {
"type": "string"
},
"model": {
"type": "string"
},
"generation": {
"type": "string"
},
"year_from": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"year_to": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"body_type": {
"type": "string"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
}
}
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"make",
"model",
"generation",
"year_from",
"year_to",
"body_type",
"confidence"
],
"properties": {
"make": {
"type": "string"
},
"model": {
"type": "string"
},
"generation": {
"type": "string"
},
"year_from": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"year_to": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"body_type": {
"type": "string"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
}
}
}
},
"needs_user_confirmation": {
"type": "boolean"
}
}
},
"detected_parts": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"raw_part_name",
"normalized_part_name",
"category_key",
"side",
"position",
"image_role",
"damage_type",
"damage_severity",
"confidence"
],
"properties": {
"raw_part_name": {
"type": "string"
},
"normalized_part_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"category_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"side": {
"type": "string",
"enum": [
"left",
"right",
"center",
"both",
"unknown",
"not_applicable"
]
},
"position": {
"type": "string",
"enum": [
"front",
"rear",
"side",
"upper",
"lower",
"interior",
"unknown"
]
},
"image_role": {
"type": "string",
"enum": [
"front",
"rear",
"left",
"right",
"extra",
"damage_detail",
"unknown"
]
},
"damage_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"damage_severity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
}
}
}
},
"image_quality": {
"type": "object",
"additionalProperties": false,
"required": [
"front",
"rear",
"left",
"right"
],
"properties": {
"front": {
"type": "string",
"enum": [
"good",
"medium",
"poor",
"unknown"
]
},
"rear": {
"type": "string",
"enum": [
"good",
"medium",
"poor",
"unknown"
]
},
"left": {
"type": "string",
"enum": [
"good",
"medium",
"poor",
"unknown"
]
},
"right": {
"type": "string",
"enum": [
"good",
"medium",
"poor",
"unknown"
]
}
}
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"questions_for_user": {
"type": "array",
"items": {
"type": "string"
}
},
"overall_confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"needs_user_confirmation": {
"type": "boolean"
}
}
},
"strict": true
},
"verbosity": "medium"
},
"tool_choice": "auto",
"tools": [],
"top_logprobs": 0,
"top_p": 1,
"truncation": "disabled",
"usage": {
"input_tokens": 14772,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens": 371,
"output_tokens_details": {
"reasoning_tokens": 0
},
"total_tokens": 15143
},
"user": null,
"metadata": []
},
"ai_response": {
"vehicle": {
"top_candidate": {
"make": "Ford",
"model": "Fusion",
"generation": "1st generation",
"year_from": 2002,
"year_to": 2012,
"body_type": "hatchback",
"confidence": 0.90000000000000002220446049250313080847263336181640625
},
"candidates": [
{
"make": "Ford",
"model": "Fusion",
"generation": "1st generation",
"year_from": 2002,
"year_to": 2012,
"body_type": "hatchback",
"confidence": 0.90000000000000002220446049250313080847263336181640625
}
],
"needs_user_confirmation": true
},
"detected_parts": [
{
"raw_part_name": "left front headlight",
"normalized_part_name": "headlight",
"category_key": "lighting",
"side": "left",
"position": "front",
"image_role": "front",
"damage_type": "broken",
"damage_severity": "severe",
"confidence": 0.9499999999999999555910790149937383830547332763671875
},
{
"raw_part_name": "front bumper",
"normalized_part_name": "bumper",
"category_key": "bumper",
"side": "center",
"position": "front",
"image_role": "front",
"damage_type": "cracked",
"damage_severity": "severe",
"confidence": 0.90000000000000002220446049250313080847263336181640625
},
{
"raw_part_name": "left front fender",
"normalized_part_name": "fender",
"category_key": "body",
"side": "left",
"position": "front",
"image_role": "front",
"damage_type": "dented",
"damage_severity": "severe",
"confidence": 0.90000000000000002220446049250313080847263336181640625
}
],
"image_quality": {
"front": "good",
"rear": "good",
"left": "good",
"right": "good"
},
"warnings": [
"Moguće je da su unutarnji dijelovi ispod lima također oštećeni, ali nisu vidljivi na fotografijama."
],
"questions_for_user": [
"Možete li potvrditi točan model i godinu vozila?",
"Da li postoje dodatne fotografije unutrašnjosti motornog prostora ili drugih oštećenih dijelova?"
],
"overall_confidence": 0.88000000000000000444089209850062616169452667236328125,
"needs_user_confirmation": true
},
"parse_error": null
}
{
"session_id": "anon_d1b51d57c1327922404792ea",
"language_code": "hr",
"client_ip": "86.33.71.113",
"uploaded_image_roles": [
"front",
"rear",
"left",
"right",
"damage_detail",
"damage_detail"
],
"missing_image_roles": [],
"uploaded_count": 6,
"max_total_images": 10
}