OpenAIChatMessageContent 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.
OpenAI specialized chat message content
public sealed class OpenAIChatMessageContent : Microsoft.SemanticKernel.ChatMessageContent
type OpenAIChatMessageContent = class
inherit ChatMessageContent
Public NotInheritable Class OpenAIChatMessageContent
Inherits ChatMessageContent
- Inheritance
Properties
AuthorName |
Name of the author of the message (Inherited from ChatMessageContent) |
Content |
A convenience property to get or set the text of the first item in the Items collection of TextContent type. (Inherited from ChatMessageContent) |
Encoding |
The encoding of the text content. (Inherited from ChatMessageContent) |
InnerContent |
The inner content representation. Use this to bypass the current abstraction. (Inherited from KernelContent) |
Items |
Chat message content items (Inherited from ChatMessageContent) |
Metadata |
The metadata associated with the content. (Inherited from KernelContent) |
MimeType |
MIME type of the content. (Inherited from KernelContent) |
ModelId |
The model ID used to generate the content. (Inherited from KernelContent) |
Role |
Role of the author of the message (Inherited from ChatMessageContent) |
Source |
Represents the source of the message. (Inherited from ChatMessageContent) |
ToolCalls |
A list of the tools called by the model. |
ToolIdProperty |
Gets the metadata key for the tool id. |
Methods
GetOpenAIFunctionToolCalls() |
Retrieve the resulting function from the chat result. |
ToString() | (Inherited from ChatMessageContent) |