Struct ChatStandalonePartContext
What renderStandalonePart is told about the part it is building.
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public readonly struct ChatStandalonePartContext
Constructors
ChatStandalonePartContext(ChatMessagePart, object, bool)
Constructs the context.
Declaration
public ChatStandalonePartContext(ChatMessagePart part, object result, bool isStreaming)
Parameters
| Type | Name | Description |
|---|---|---|
| ChatMessagePart | part | The part being rendered. |
| object | result | The matching tool result, or null. |
| bool | isStreaming | Whether the message is still streaming. |
Properties
isStreaming
Whether the message this part belongs to is still streaming.
Declaration
public bool isStreaming { get; }
Property Value
| Type | Description |
|---|---|
| bool |
part
The part pulled out of the bubble.
Declaration
public ChatMessagePart part { get; }
Property Value
| Type | Description |
|---|---|
| ChatMessagePart |
result
The tool result matching part, when it is a tool call that has one.
Declaration
public object result { get; }
Property Value
| Type | Description |
|---|---|
| object |