Table of Contents

Class FlexRequest

Namespace
Textkernel.Tx.Models.API.Parsing
Assembly
Textkernel.Tx.SDK.dll

Custom requests to ask during parsing. See the overview documentation for more details. Additional charges will apply.

public class FlexRequest
Inheritance
FlexRequest
Inherited Members

Properties

DataType

The data type for the reply

[JsonConverter(typeof(EnumMemberConverter<FlexRequestDataType>))]
public FlexRequestDataType DataType { get; set; }

Property Value

FlexRequestDataType

EnumerationValues

If DataType is Enumeration, this is the list of possible replies. This is limited to a maximum of 50 values.

public List<string> EnumerationValues { get; set; }

Property Value

List<string>

Identifier

Unique field name to be returned alongside the reply in the response

public string Identifier { get; set; }

Property Value

string

Prompt

The prompt to be sent to the LLM Parsing Engine

public string Prompt { get; set; }

Property Value

string