Table of Contents

Class Property

Namespace
OllamaSharp.Models.Chat
Assembly
OllamaSharp.dll

Represents a property within a function's parameters, including its type, description, and possible values.

public class Property
Inheritance
Property
Inherited Members

Properties

Description

Gets or sets the description of the property.

[JsonPropertyName("description")]
public string? Description { get; set; }

Property Value

string

Enum

Gets or sets an enumeration of possible values for the property.

[JsonPropertyName("enum")]
public IEnumerable<string>? Enum { get; set; }

Property Value

IEnumerable<string>

Type

Gets or sets the type of the property.

[JsonPropertyName("type")]
public string? Type { get; set; }

Property Value

string