TextContent 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.
Represents text content return from a ITextGenerationService service.
public sealed class TextContent : Microsoft.SemanticKernel.KernelContent
type TextContent = class
inherit KernelContent
Public NotInheritable Class TextContent
Inherits KernelContent
- Inheritance
Constructors
TextContent() |
Initializes a new instance of the TextContent class. |
TextContent(String, String, Object, Encoding, IReadOnlyDictionary<String,Object>) |
Initializes a new instance of the TextContent class. |
Properties
Encoding |
The encoding of the text content. |
InnerContent |
The inner content representation. Use this to bypass the current abstraction. (Inherited from KernelContent) |
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) |
Text |
The text content. |
Methods
ToString() | Returns a string that represents the current object. |