Class Message.Function
- Namespace
- OllamaSharp.Models.Chat
- Assembly
- OllamaSharp.dll
Represents a function that can be called by a tool.
public class Message.Function
- Inheritance
-
Message.Function
- Inherited Members
Properties
Arguments
Gets or sets the arguments for the function, represented as a dictionary of argument names and values.
[JsonPropertyName("arguments")]
public IDictionary<string, object?>? Arguments { get; set; }
Property Value
Index
Gets or sets the index of the function.
[JsonPropertyName("index")]
public int? Index { get; set; }
Property Value
- int?
Name
Gets or sets the name of the function.
[JsonPropertyName("name")]
public string? Name { get; set; }