Documentation
Table of Contents

Class PromptPlan

Namespace
IntentSharp.Prompting
Assembly
IntentSharp.dll

One operation as a judge receives it (IResultJudge): the intent, the input, the requested result type, and the request's output requirements, instructions and examples.

public sealed class PromptPlan
Inheritance
object
PromptPlan
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Extension Methods

Constructors

PromptPlan()

Creates a plan; the object initializer must set Intent, TargetType, SerializedInput and InputTypeName.

Properties

Examples

The request's worked examples (Examples); empty when it has none.

ExpectedOutputDescription

The request's ExpectedOutputDescription, or null.

InputTypeName

A description of the input's type and its members, or "null" when there is no input.

Intent

The intent, with surrounding white space removed.

IsRuntimeShape

True when the result shape is a JSON value defined by a schema at run time rather than by a .NET type.

Schema

The JSON schema the reply must match, or null when there is none: for a text result, for a run-time shape without a schema, and for a type that a strict schema cannot express.

SerializedInput

The input value as the text the model receives: strings as they are, dates and times in ISO 8601, other primitives in invariant culture, and everything else as compact JSON.

SystemInstructions

The request's SystemInstructions, or null.

TargetType

The requested result type.