{
"make": "Audi",
"model": "TT Coupe",
"year": null,
"generation": "3rd generation (FV/8S)",
"body_type": "coupe",
"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": 17959,
"http_status": 200,
"response": {
"id": "resp_0a20e51f8975608c006a042e469488819793487f3f25c96f85",
"object": "response",
"created_at": 1778658886,
"status": "completed",
"background": false,
"billing": {
"payer": "developer"
},
"completed_at": 1778658902,
"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_0a20e51f8975608c006a042e4fe24c8197a4da8020a4c3ab1d",
"type": "message",
"status": "completed",
"content": [
{
"type": "output_text",
"annotations": [],
"logprobs": [],
"text": "{\"vehicle\":{\"top_candidate\":{\"make\":\"Audi\",\"model\":\"TT Coupe\",\"generation\":\"3rd generation (FV/8S)\",\"year_from\":2014,\"year_to\":2023,\"body_type\":\"coupe\",\"confidence\":0.9},\"candidates\":[{\"make\":\"Audi\",\"model\":\"TT\",\"generation\":\"3rd generation (FV/8S)\",\"year_from\":2014,\"year_to\":2023,\"body_type\":\"coupe\",\"confidence\":0.9}],\"needs_user_confirmation\":true},\"detected_parts\":[{\"raw_part_name\":\"front bumper\",\"normalized_part_name\":\"bumper cover\",\"category_key\":\"bumper\",\"side\":\"both\",\"position\":\"front\",\"image_role\":\"front\",\"damage_type\":\"crack, deformation\",\"damage_severity\":\"severe\",\"confidence\":0.95},{\"raw_part_name\":\"left headlight\",\"normalized_part_name\":\"headlight\",\"category_key\":\"lighting\",\"side\":\"left\",\"position\":\"front\",\"image_role\":\"front\",\"damage_type\":\"missing/damaged\",\"damage_severity\":\"severe\",\"confidence\":0.9},{\"raw_part_name\":\"right headlight\",\"normalized_part_name\":\"headlight\",\"category_key\":\"lighting\",\"side\":\"right\",\"position\":\"front\",\"image_role\":\"front\",\"damage_type\":\"crack\",\"damage_severity\":\"moderate\",\"confidence\":0.8},{\"raw_part_name\":\"hood\",\"normalized_part_name\":\"hood\",\"category_key\":\"hood\",\"side\":\"center\",\"position\":\"front\",\"image_role\":\"front\",\"damage_type\":\"scratch, dent\",\"damage_severity\":\"moderate\",\"confidence\":0.85},{\"raw_part_name\":\"radiator support\",\"normalized_part_name\":\"radiator support\",\"category_key\":\"structural\",\"side\":\"center\",\"position\":\"front\",\"image_role\":\"damage_detail\",\"damage_type\":\"deformation\",\"damage_severity\":\"severe\",\"confidence\":0.9}],\"image_quality\":{\"front\":\"good\",\"rear\":\"medium\",\"left\":\"good\",\"right\":\"good\"},\"warnings\":[\"Molimo potvrdite točnu generaciju modela i stanje oštećenja na djelovima jer postoji određena nejasnoća u identificiranju detalja.\"],\"questions_for_user\":[\"Možete li potvrditi godinu proizvodnje vozila kako bismo preciznije odredili dijelove?\",\"Je li vozilo imalo dodatne modifikacije ili aftermarket dijelove?\",\"Postoje li skrivena oštećenja koja nisu vidljiva na slikama, posebno ispod haube?\"],\"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": 17131,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens": 524,
"output_tokens_details": {
"reasoning_tokens": 0
},
"total_tokens": 17655
},
"user": null,
"metadata": []
},
"ai_response": {
"vehicle": {
"top_candidate": {
"make": "Audi",
"model": "TT Coupe",
"generation": "3rd generation (FV/8S)",
"year_from": 2014,
"year_to": 2023,
"body_type": "coupe",
"confidence": 0.90000000000000002220446049250313080847263336181640625
},
"candidates": [
{
"make": "Audi",
"model": "TT",
"generation": "3rd generation (FV/8S)",
"year_from": 2014,
"year_to": 2023,
"body_type": "coupe",
"confidence": 0.90000000000000002220446049250313080847263336181640625
}
],
"needs_user_confirmation": true
},
"detected_parts": [
{
"raw_part_name": "front bumper",
"normalized_part_name": "bumper cover",
"category_key": "bumper",
"side": "both",
"position": "front",
"image_role": "front",
"damage_type": "crack, deformation",
"damage_severity": "severe",
"confidence": 0.9499999999999999555910790149937383830547332763671875
},
{
"raw_part_name": "left headlight",
"normalized_part_name": "headlight",
"category_key": "lighting",
"side": "left",
"position": "front",
"image_role": "front",
"damage_type": "missing/damaged",
"damage_severity": "severe",
"confidence": 0.90000000000000002220446049250313080847263336181640625
},
{
"raw_part_name": "right headlight",
"normalized_part_name": "headlight",
"category_key": "lighting",
"side": "right",
"position": "front",
"image_role": "front",
"damage_type": "crack",
"damage_severity": "moderate",
"confidence": 0.8000000000000000444089209850062616169452667236328125
},
{
"raw_part_name": "hood",
"normalized_part_name": "hood",
"category_key": "hood",
"side": "center",
"position": "front",
"image_role": "front",
"damage_type": "scratch, dent",
"damage_severity": "moderate",
"confidence": 0.84999999999999997779553950749686919152736663818359375
},
{
"raw_part_name": "radiator support",
"normalized_part_name": "radiator support",
"category_key": "structural",
"side": "center",
"position": "front",
"image_role": "damage_detail",
"damage_type": "deformation",
"damage_severity": "severe",
"confidence": 0.90000000000000002220446049250313080847263336181640625
}
],
"image_quality": {
"front": "good",
"rear": "medium",
"left": "good",
"right": "good"
},
"warnings": [
"Molimo potvrdite točnu generaciju modela i stanje oštećenja na djelovima jer postoji određena nejasnoća u identificiranju detalja."
],
"questions_for_user": [
"Možete li potvrditi godinu proizvodnje vozila kako bismo preciznije odredili dijelove?",
"Je li vozilo imalo dodatne modifikacije ili aftermarket dijelove?",
"Postoje li skrivena oštećenja koja nisu vidljiva na slikama, posebno ispod haube?"
],
"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 | 37 |
|---|---|
| public_token | 3ca6740863a0be0e9efb0186daaf3e38 |
| status | confirmed |
| image_count | 7 |
| OPENAI_API_KEY_CONFIGURED | true |
| OPENAI_VISION_MODEL | gpt-4.1-mini |
| OPENAI_VISION_FALLBACK_MODEL | gpt-4.1 |
| last_ai_raw_log_id | 108 |
| last_ai_status | vision_response |
| last_model_used | gpt-4.1-mini |
| raw_vehicle_candidates_count | 2 |
|---|---|
| saved_vehicle_candidates_count | 2 |
| raw_part_candidates_count | 5 |
| saved_part_candidates_count | 5 |
| mapped_vehicle_candidates_count | 0 |
| mapped_part_candidates_count | 0 |
| selected_vehicle_candidate_id | 51 |
| selected_part_candidate_ids | [192,193,194,195,196] |
| Rank | Naziv | Godiste | Sigurnost | Mapirano | Status | Akcija |
|---|---|---|---|---|---|---|
| 1 | Audi TT Coupe 3rd generation (FV/8S) | 2014 - 2023 | 0.9000 (Visoka sigurnost) |
make: 4 model: null gen: null Nije mapirano na internu bazu vozila. |
top odabrano (korisnik/admin) nije mapirano | Dodaj vehicle alias |
| 2 | Audi TT 3rd generation (FV/8S) | 2014 - 2023 | 0.9000 (Visoka sigurnost) |
make: 4 model: null gen: null Nije mapirano na internu bazu vozila. |
nije mapirano | Dodaj vehicle alias |
| Rank | Dio | Strana/Pozicija | Image | Kategorija | Sigurnost | Status | Akcija |
|---|---|---|---|---|---|---|---|
| 1 |
front bumper front branik |
both / front | front |
id: null key: bumper Nije mapirano na internu kategoriju. |
0.9500 (Visoka sigurnost) | odabrano needs confirm | Dodaj part alias |
| 2 |
left headlight left far |
left / front | front |
id: null key: lighting Nije mapirano na internu kategoriju. |
0.9000 (Visoka sigurnost) | odabrano needs confirm | Dodaj part alias |
| 3 |
right headlight right far |
right / front | front |
id: null key: lighting Nije mapirano na internu kategoriju. |
0.8000 (Srednja sigurnost) | odabrano needs confirm | Dodaj part alias |
| 4 |
hood hauba |
center / front | front |
id: null key: hood Nije mapirano na internu kategoriju. |
0.8500 (Visoka sigurnost) | odabrano needs confirm | Dodaj part alias |
| 5 |
radiator support radiator support |
center / front | damage_detail |
id: null key: structural Nije mapirano na internu kategoriju. |
0.9000 (Visoka sigurnost) | odabrano needs confirm | Dodaj part alias |
{
"selected_part_candidate_ids": [
192,
193,
194,
195,
196
]
}
{
"unmapped_part_candidate_ids": [
192,
193,
194,
195,
196
]
}
{
"vehicle_source": "ai_candidate_unmapped",
"make_id": 4,
"model_id": null,
"generation_id": null,
"year_from": 2014,
"year_to": 2023,
"confirmed_vehicle_label": "AUDI",
"manual_make": "Audi",
"manual_model": "TT Coupe",
"manual_year": null,
"manual_generation": "3rd generation (FV/8S)",
"manual_body_type": "coupe",
"manual_note": null,
"parts": [
{
"category_id": null,
"category_key": "bumper",
"side": "both",
"position": "front",
"raw_part_name": "front bumper",
"manual_note": null
},
{
"category_id": null,
"category_key": "lighting",
"side": "left",
"position": "front",
"raw_part_name": "left headlight",
"manual_note": null
},
{
"category_id": null,
"category_key": "lighting",
"side": "right",
"position": "front",
"raw_part_name": "right headlight",
"manual_note": null
},
{
"category_id": null,
"category_key": "hood",
"side": "center",
"position": "front",
"raw_part_name": "hood",
"manual_note": null
},
{
"category_id": null,
"category_key": "structural",
"side": "center",
"position": "front",
"raw_part_name": "radiator support",
"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": 37,
"inquiry_id": 11,
"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": 0,
"selected_b2b_items_saved_count": 0
}
{
"ok": true,
"inquiry_id": 11,
"selected_products_snapshot_count": 0,
"selected_products_saved_count": 0,
"selected_b2b_items_saved_count": 0
}
{
"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": 17959,
"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"
},
{
"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": 17959,
"http_status": 200,
"response": {
"id": "resp_0a20e51f8975608c006a042e469488819793487f3f25c96f85",
"object": "response",
"created_at": 1778658886,
"status": "completed",
"background": false,
"billing": {
"payer": "developer"
},
"completed_at": 1778658902,
"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_0a20e51f8975608c006a042e4fe24c8197a4da8020a4c3ab1d",
"type": "message",
"status": "completed",
"content": [
{
"type": "output_text",
"annotations": [],
"logprobs": [],
"text": "{\"vehicle\":{\"top_candidate\":{\"make\":\"Audi\",\"model\":\"TT Coupe\",\"generation\":\"3rd generation (FV/8S)\",\"year_from\":2014,\"year_to\":2023,\"body_type\":\"coupe\",\"confidence\":0.9},\"candidates\":[{\"make\":\"Audi\",\"model\":\"TT\",\"generation\":\"3rd generation (FV/8S)\",\"year_from\":2014,\"year_to\":2023,\"body_type\":\"coupe\",\"confidence\":0.9}],\"needs_user_confirmation\":true},\"detected_parts\":[{\"raw_part_name\":\"front bumper\",\"normalized_part_name\":\"bumper cover\",\"category_key\":\"bumper\",\"side\":\"both\",\"position\":\"front\",\"image_role\":\"front\",\"damage_type\":\"crack, deformation\",\"damage_severity\":\"severe\",\"confidence\":0.95},{\"raw_part_name\":\"left headlight\",\"normalized_part_name\":\"headlight\",\"category_key\":\"lighting\",\"side\":\"left\",\"position\":\"front\",\"image_role\":\"front\",\"damage_type\":\"missing/damaged\",\"damage_severity\":\"severe\",\"confidence\":0.9},{\"raw_part_name\":\"right headlight\",\"normalized_part_name\":\"headlight\",\"category_key\":\"lighting\",\"side\":\"right\",\"position\":\"front\",\"image_role\":\"front\",\"damage_type\":\"crack\",\"damage_severity\":\"moderate\",\"confidence\":0.8},{\"raw_part_name\":\"hood\",\"normalized_part_name\":\"hood\",\"category_key\":\"hood\",\"side\":\"center\",\"position\":\"front\",\"image_role\":\"front\",\"damage_type\":\"scratch, dent\",\"damage_severity\":\"moderate\",\"confidence\":0.85},{\"raw_part_name\":\"radiator support\",\"normalized_part_name\":\"radiator support\",\"category_key\":\"structural\",\"side\":\"center\",\"position\":\"front\",\"image_role\":\"damage_detail\",\"damage_type\":\"deformation\",\"damage_severity\":\"severe\",\"confidence\":0.9}],\"image_quality\":{\"front\":\"good\",\"rear\":\"medium\",\"left\":\"good\",\"right\":\"good\"},\"warnings\":[\"Molimo potvrdite točnu generaciju modela i stanje oštećenja na djelovima jer postoji određena nejasnoća u identificiranju detalja.\"],\"questions_for_user\":[\"Možete li potvrditi godinu proizvodnje vozila kako bismo preciznije odredili dijelove?\",\"Je li vozilo imalo dodatne modifikacije ili aftermarket dijelove?\",\"Postoje li skrivena oštećenja koja nisu vidljiva na slikama, posebno ispod haube?\"],\"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": 17131,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens": 524,
"output_tokens_details": {
"reasoning_tokens": 0
},
"total_tokens": 17655
},
"user": null,
"metadata": []
},
"ai_response": {
"vehicle": {
"top_candidate": {
"make": "Audi",
"model": "TT Coupe",
"generation": "3rd generation (FV/8S)",
"year_from": 2014,
"year_to": 2023,
"body_type": "coupe",
"confidence": 0.90000000000000002220446049250313080847263336181640625
},
"candidates": [
{
"make": "Audi",
"model": "TT",
"generation": "3rd generation (FV/8S)",
"year_from": 2014,
"year_to": 2023,
"body_type": "coupe",
"confidence": 0.90000000000000002220446049250313080847263336181640625
}
],
"needs_user_confirmation": true
},
"detected_parts": [
{
"raw_part_name": "front bumper",
"normalized_part_name": "bumper cover",
"category_key": "bumper",
"side": "both",
"position": "front",
"image_role": "front",
"damage_type": "crack, deformation",
"damage_severity": "severe",
"confidence": 0.9499999999999999555910790149937383830547332763671875
},
{
"raw_part_name": "left headlight",
"normalized_part_name": "headlight",
"category_key": "lighting",
"side": "left",
"position": "front",
"image_role": "front",
"damage_type": "missing/damaged",
"damage_severity": "severe",
"confidence": 0.90000000000000002220446049250313080847263336181640625
},
{
"raw_part_name": "right headlight",
"normalized_part_name": "headlight",
"category_key": "lighting",
"side": "right",
"position": "front",
"image_role": "front",
"damage_type": "crack",
"damage_severity": "moderate",
"confidence": 0.8000000000000000444089209850062616169452667236328125
},
{
"raw_part_name": "hood",
"normalized_part_name": "hood",
"category_key": "hood",
"side": "center",
"position": "front",
"image_role": "front",
"damage_type": "scratch, dent",
"damage_severity": "moderate",
"confidence": 0.84999999999999997779553950749686919152736663818359375
},
{
"raw_part_name": "radiator support",
"normalized_part_name": "radiator support",
"category_key": "structural",
"side": "center",
"position": "front",
"image_role": "damage_detail",
"damage_type": "deformation",
"damage_severity": "severe",
"confidence": 0.90000000000000002220446049250313080847263336181640625
}
],
"image_quality": {
"front": "good",
"rear": "medium",
"left": "good",
"right": "good"
},
"warnings": [
"Molimo potvrdite točnu generaciju modela i stanje oštećenja na djelovima jer postoji određena nejasnoća u identificiranju detalja."
],
"questions_for_user": [
"Možete li potvrditi godinu proizvodnje vozila kako bismo preciznije odredili dijelove?",
"Je li vozilo imalo dodatne modifikacije ili aftermarket dijelove?",
"Postoje li skrivena oštećenja koja nisu vidljiva na slikama, posebno ispod haube?"
],
"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",
"damage_detail"
],
"missing_image_roles": [],
"uploaded_count": 7,
"max_total_images": 10
}