Class FlexRequest
Custom requests to ask during parsing. See the overview documentation for more details. Additional charges will apply.
Inheritance
System.Object
FlexRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Textkernel.Tx.Models.API.Parsing
Assembly: Textkernel.Tx.SDK.dll
Syntax
public class FlexRequest
Properties
| Improve this Doc View SourceDataType
The data type for the reply
Declaration
[JsonConverter(typeof(EnumMemberConverter<FlexRequestDataType>))]
public FlexRequestDataType DataType { get; set; }
Property Value
Type | Description |
---|---|
FlexRequestDataType |
EnumerationValues
If DataType is Enumeration, this is the list of possible replies. This is limited to a maximum of 50 values.
Declaration
public List<string> EnumerationValues { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
Identifier
Unique field name to be returned alongside the reply in the response
Declaration
public string Identifier { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Prompt
The prompt to be sent to the LLM Parsing Engine
Declaration
public string Prompt { get; set; }
Property Value
Type | Description |
---|---|
System.String |