Azure OpenAI Service Documentation: In the documentation for the ChatCompletionsOptions class, the Temperature property is defined as: "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic." This directly supports using Temperature to control creativity.
Source: Microsoft Docs, "ChatCompletionsOptions Properties," Azure SDK for .NET.
Azure OpenAI Service API Reference: The REST API documentation explains the role of different message types. For the system role, it states: "The system message helps set the behavior of the assistant. For example, you can modify the personality of the assistant or provide specific instructions about how it should behave throughout the conversation." This confirms ChatRole.System is the correct choice for initial instructions.
Source: Microsoft Learn, "Azure OpenAI Service REST API reference," Chat Completions.
Quickstart: Azure OpenAI Service Chat Completions: The official .NET quickstart guide demonstrates the use of both ChatRole.System to provide initial context and setting the Temperature property within ChatCompletionsOptions to influence the model's response style.
Source: Microsoft Learn, "Quickstart: Get started using chat models with your data," Azure OpenAI Service.