Authorization: Bearer ********************
{
"response_mode": "string",
"conversation_id": "string",
"files": [
"string"
],
"query": "string",
"inputs": {},
"model_config": {
"pre_prompt": "string",
"prompt_type": "string",
"chat_prompt_config": {},
"completion_prompt_config": {},
"user_input_form": [
"string"
],
"dataset_query_variable": "string",
"opening_statement": "string",
"more_like_this": {
"enabled": true
},
"suggested_questions": [
"string"
],
"suggested_questions_after_answer": {
"enabled": true
},
"text_to_speech": {
"enabled": true,
"voice": "string",
"language": "string"
},
"speech_to_text": {
"enabled": true
},
"retriever_resource": {
"enabled": true
},
"sensitive_word_avoidance": {
"enabled": true,
"type": "string",
"configs": [
"string"
]
},
"agent_mode": {
"max_iteration": 0,
"enabled": true,
"strategy": "string",
"tools": [
"string"
],
"prompt": null
},
"dataset_configs": {
"retrieval_model": "string",
"top_k": 0,
"reranking_enable": true,
"datasets": {
"datasets": [
"string"
]
}
},
"file_upload": {
"image": {
"detail": "string",
"enabled": true,
"number_limits": 0,
"transfer_methods": [
"string"
]
},
"enabled": true,
"allowed_file_types": [
"string"
],
"allowed_file_extensions": [
"string"
],
"allowed_file_upload_methods": [
"string"
],
"number_limits": 0,
"fileUploadConfig": {
"file_size_limit": 0,
"batch_count_limit": 0,
"image_file_size_limit": 0,
"video_file_size_limit": 0,
"audio_file_size_limit": 0,
"workflow_file_upload_limit": 0
}
},
"annotation_reply": {
"enabled": true
},
"supportAnnotation": true,
"appId": "string",
"supportCitationHitInfo": true,
"model": {
"provider": "string",
"name": "string",
"mode": "string",
"completion_params": {}
}
},
"parent_message_id": null
}
curl --location --request POST '/console/api/apps/ecf7242f-1385-4ba7-81a8-e516f03bfa78/chat-messages' \
--header 'Content-Type: application/json' \
--data-raw '{
"response_mode": "string",
"conversation_id": "string",
"files": [
"string"
],
"query": "string",
"inputs": {},
"model_config": {
"pre_prompt": "string",
"prompt_type": "string",
"chat_prompt_config": {},
"completion_prompt_config": {},
"user_input_form": [
"string"
],
"dataset_query_variable": "string",
"opening_statement": "string",
"more_like_this": {
"enabled": true
},
"suggested_questions": [
"string"
],
"suggested_questions_after_answer": {
"enabled": true
},
"text_to_speech": {
"enabled": true,
"voice": "string",
"language": "string"
},
"speech_to_text": {
"enabled": true
},
"retriever_resource": {
"enabled": true
},
"sensitive_word_avoidance": {
"enabled": true,
"type": "string",
"configs": [
"string"
]
},
"agent_mode": {
"max_iteration": 0,
"enabled": true,
"strategy": "string",
"tools": [
"string"
],
"prompt": null
},
"dataset_configs": {
"retrieval_model": "string",
"top_k": 0,
"reranking_enable": true,
"datasets": {
"datasets": [
"string"
]
}
},
"file_upload": {
"image": {
"detail": "string",
"enabled": true,
"number_limits": 0,
"transfer_methods": [
"string"
]
},
"enabled": true,
"allowed_file_types": [
"string"
],
"allowed_file_extensions": [
"string"
],
"allowed_file_upload_methods": [
"string"
],
"number_limits": 0,
"fileUploadConfig": {
"file_size_limit": 0,
"batch_count_limit": 0,
"image_file_size_limit": 0,
"video_file_size_limit": 0,
"audio_file_size_limit": 0,
"workflow_file_upload_limit": 0
}
},
"annotation_reply": {
"enabled": true
},
"supportAnnotation": true,
"appId": "string",
"supportCitationHitInfo": true,
"model": {
"provider": "string",
"name": "string",
"mode": "string",
"completion_params": {}
}
},
"parent_message_id": null
}'
{}