你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ChatRequestDeveloperMessage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A request chat message containing developer instructions that influence how the model will generate a chat completions response. Some AI models support a developer message instead of a system message.
public class ChatRequestDeveloperMessage : Azure.AI.Inference.ChatRequestMessage, System.ClientModel.Primitives.IJsonModel<Azure.AI.Inference.ChatRequestDeveloperMessage>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Inference.ChatRequestDeveloperMessage>
type ChatRequestDeveloperMessage = class
inherit ChatRequestMessage
interface IJsonModel<ChatRequestDeveloperMessage>
interface IPersistableModel<ChatRequestDeveloperMessage>
Public Class ChatRequestDeveloperMessage
Inherits ChatRequestMessage
Implements IJsonModel(Of ChatRequestDeveloperMessage), IPersistableModel(Of ChatRequestDeveloperMessage)
- Inheritance
- Implements
Constructors
ChatRequestDeveloperMessage(String) |
Initializes a new instance of ChatRequestDeveloperMessage. |
Properties
Content |
The contents of the developer message. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |