Class TextPart
Text, Refusal, InputText, OutputText content part.
Assembly: Glitch9.AIDevKit.dll
Syntax
public sealed class TextPart : ContentPart<TextContentData>
Constructors
|
Edit this page
View Source
TextPart()
Declaration
|
Edit this page
View Source
TextPart(ContentType, string)
Declaration
public TextPart(ContentType type, string text)
Parameters
|
Edit this page
View Source
TextPart(ContentType, string, params Annotation[])
Declaration
public TextPart(ContentType type, string text, params Annotation[] annotations)
Parameters
Methods
|
Edit this page
View Source
InputMessageText(string)
Declaration
public static TextPart InputMessageText(string text)
Parameters
| Type |
Name |
Description |
| string |
text |
|
Returns
|
Edit this page
View Source
MessageText(string)
Declaration
public static TextPart MessageText(string text)
Parameters
| Type |
Name |
Description |
| string |
text |
|
Returns
|
Edit this page
View Source
OutputMessageText(string)
Declaration
public static TextPart OutputMessageText(string text)
Parameters
| Type |
Name |
Description |
| string |
text |
|
Returns
|
Edit this page
View Source
RefusalText(string)
Declaration
public static TextPart RefusalText(string text)
Parameters
| Type |
Name |
Description |
| string |
text |
|
Returns
Extension Methods