curl --request POST \
--url https://api.intelligence.io.solutions/api/r2r/v3/retrieval/completion \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"messages": {
"role": "system",
"content": "<string>",
"name": "<string>",
"function_call": [
"<any>"
],
"tool_calls": [
"<any>"
],
"tool_call_id": "<string>",
"metadata": [
"<any>"
],
"structured_content": [
"<any>"
],
"image_url": "<string>",
"image_data": [
"<any>"
]
},
"generation_config": {
"model": "<string>",
"temperature": 123,
"top_p": 123,
"max_tokens_to_sample": 123,
"stream": true,
"functions": [
"<any>"
],
"tools": [
"<any>"
],
"add_generation_kwargs": [
"<any>"
],
"api_base": "<string>",
"response_format": [
{
"Base Model": {}
}
],
"extended_thinking": false,
"thinking_budget": 123,
"reasoning_effort": "<string>"
}
}'