A prompt is the input you give a generative model to guide its response. In Azure OpenAI Service, it can pair source material with a specific request: not just a customer review, but what to do with it. section 7.1
Turn a review into recommendations
A customer says they loved *1984* for its dystopian setting and social commentary. A useful prompt includes that review and asks for three similar books, each with a brief description. section 7.1
C:/> az rest --method post --url "${ENDPOINT}openai/deployments/${DEPLOYMENT_NAME}/completions?
api-version=${API_VERSION}" --headers "api-key=${API_KEY}"
"Content-Type=application/json" --body "{\"prompt\": \"${PROMPT}\",
\"max_tokens\": 150, \"temperature\": 0.7, \"n\": 1}"
The request sends the prompt in a JSON `prompt` field to a deployed model. It also sets response options such as `max_tokens` and `temperature`. section 7.1

















































