Here is the curl command which only accepts one input but I need to pass a chat conversation as input in a structure like following -
Human: {past-message}
AI: {past-reply}
Human: {new-message}
Curl command for mistral instruct -
curl https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.1 \
-X POST \
-d '{"inputs": "Can you please let us know more details about your "}' \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
Is it possible?