Table of Contents

Class PluginDefinition

Namespace
FoundationaLLM.Common.Models.ResourceProviders.Plugin
Assembly
FoundationaLLM.Common.dll

Provides the model for a plugin.

public class PluginDefinition : ResourceBase
Inheritance
PluginDefinition
Inherited Members
Extension Methods

Properties

Category

Gets or sets the category of the plugin.

[JsonPropertyName("category")]
public required string Category { get; set; }

Property Value

string

Dependencies

Gets or sets the list of PluginDependencyMetadata objects that represent the dependencies of the plugin.

[JsonPropertyName("dependencies")]
public List<PluginDependencyMetadata> Dependencies { get; set; }

Property Value

List<PluginDependencyMetadata>

ParameterSelectionHints

Gets or sets the metadata associated with the plugin parameter selection hints.

[JsonPropertyName("parameter_selection_hints")]
public Dictionary<string, PluginParameterSelectionHint> ParameterSelectionHints { get; set; }

Property Value

Dictionary<string, PluginParameterSelectionHint>

Remarks

The keys in the dictionary are the name of the paramters that are of type resource-object-id.

The values in the dictionary are PluginParameterSelectionHint object providing the selection hints for the parameter.

Parameters

Gets or sets the metadata associated with the plugin parameters.

[JsonPropertyName("parameters")]
public List<PluginParameterMetadata> Parameters { get; set; }

Property Value

List<PluginParameterMetadata>