Class Function
- Namespace
- OllamaSharp.Models.Chat
- Assembly
- OllamaSharp.dll
Represents a function that can be executed by a tool.
public class Function
- Inheritance
-
Function
- Inherited Members
Properties
Description
Gets or sets the description of the function.
[JsonPropertyName("description")]
public string? Description { get; set; }
Property Value
Name
Gets or sets the name of the function.
[JsonPropertyName("name")]
public string? Name { get; set; }
Property Value
Parameters
Gets or sets the parameters required by the function.
[JsonPropertyName("parameters")]
public Parameters? Parameters { get; set; }