Table of Contents

Class PromptBase

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

Basic prompt.

[JsonPolymorphic(TypeDiscriminatorPropertyName = "type")]
[JsonDerivedType(typeof(MultipartPrompt), "multipart")]
public class PromptBase : ResourceBase
Inheritance
PromptBase
Derived
Inherited Members
Extension Methods

Properties

Category

The category of the prompt.

[JsonPropertyName("category")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public PromptCategory? Category { get; set; }

Property Value

PromptCategory?

Type

The type of the resource.

[JsonIgnore]
public override string? Type { get; set; }

Property Value

string