ImageGeneratingChatClient.DataContentHandling Enum
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.
Specifies how image and other data content is handled when passing data to an inner client.
public: enum class ImageGeneratingChatClient::DataContentHandling
public enum ImageGeneratingChatClient.DataContentHandling
type ImageGeneratingChatClient.DataContentHandling =
Public Enum ImageGeneratingChatClient.DataContentHandling
- Inheritance
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | Pass all DataContent to inner client. |
| AllImages | 1 | Replace all images with unique identifiers when passing to inner client. |
| GeneratedImages | 2 | Replace only images that were produced by past image generation requests with unique identifiers when passing to inner client. |
Remarks
Use this enumeration to control whether images in the data content are passed as-is, replaced with unique identifiers, or only generated images are replaced. This setting affects how downstream clients receive and process image data. Reducing what's passed downstream can help manage the context window.