Class OcrRequest
Inheritance
OcrRequest
Implements
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
public sealed class OcrRequest : GenerativeRequest<OcrRequest, FilePrompt, OcrDocument, IOcrRequestOptions>, IGenerativeRequest
Constructors
| Edit this page View SourceOcrRequest(FilePrompt)
Declaration
public OcrRequest(FilePrompt prompt)
Parameters
| Type | Name | Description |
|---|---|---|
| FilePrompt | prompt |
Properties
| Edit this page View SourceFileNameKey
Declaration
protected override string FileNameKey { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
| 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<OcrDocument>> ExecuteAsyncInternal()
Returns
| Type | Description |
|---|---|
| UniTask<Generated<OcrDocument>> |
Overrides
UnifiedApiRequestBase<OcrRequest, Generated<OcrDocument>, IOcrRequestOptions>.ExecuteAsyncInternal()