Class DetokenizationRequest
Inheritance
DetokenizationRequest
Implements
Inherited Members
UnifiedApiRequestBase<DetokenizationRequest, Generated<TextSegment>, ITextRequestOptions>.LogOptions
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
[JsonConverter(typeof(DetokenizationRequestConverter))]
public sealed class DetokenizationRequest : GenerativeRequest<DetokenizationRequest, TokenPrompt, TextSegment, ITextRequestOptions>, IGenerativeRequest
Constructors
| Edit this page View SourceDetokenizationRequest(TokenPrompt)
Declaration
public DetokenizationRequest(TokenPrompt prompt)
Parameters
| Type | Name | Description |
|---|---|---|
| TokenPrompt | prompt |
Properties
| Edit this page View SourceModelType
Declaration
public override ModelType ModelType { get; }
Property Value
| Type | Description |
|---|---|
| ModelType |
Overrides
| Edit this page View SourceRequestType
The endpoint type for this
Declaration
public override RequestType RequestType { get; }
Property Value
| Type | Description |
|---|---|
| RequestType |
Overrides
Methods
| Edit this page View SourceExecuteAsyncInternal()
Executes the actual task logic. Must be implemented in derived classes.
Declaration
protected override UniTask<Generated<TextSegment>> ExecuteAsyncInternal()
Returns
| Type | Description |
|---|---|
| UniTask<Generated<TextSegment>> |