Class AssistantMessage
Represents a single instance of assistant message.
Note: When responding to a tool call, set content
to null
(not \"\"
).
This ensures the model correctly processes tool call messages in multi-step interactions.
Inherited Members
Namespace: Oci.GenerativeaiinferenceService.Models
Assembly: OCI.DotNetSDK.Generativeaiinference.dll
Syntax
public class AssistantMessage : Message
Properties
Name
Declaration
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | An optional name for the participant. Provides the model information to differentiate between participants of the same role. |
ToolCalls
Declaration
[JsonProperty(PropertyName = "toolCalls")]
public List<ToolCall> ToolCalls { get; set; }
Property Value
Type | Description |
---|---|
List<ToolCall> | The tool calls generated by the model, such as function calls. |