SwiftclassDocumentUnderstanding
class DocumentUnderstanding.GenerationTask
Members 7
- deinit
deinit - field
var context: String - field
var tgSession: TGTextGenerationSession? - func
perform(model: DocumentUnderstanding.AvailableModelsForTextGenerationFramework) async -> [String] - func
perform(model: DocumentUnderstanding.AvailableModelsForTextGenerationFramework, numTokens: Int) async -> [String] - init
DocumentUnderstanding.GenerationTask.__allocating_init(context: String) -> DocumentUnderstanding.GenerationTask - init
DocumentUnderstanding.GenerationTask.__allocating_init() -> DocumentUnderstanding.GenerationTask
Header
class GenerationTask: __C.NSObject { var context: Swift.String var tgSession: __C.TGTextGenerationSession? init(context: Swift.String) func perform(model: DocumentUnderstanding.AvailableModelsForTextGenerationFramework) async -> [Swift.String] func perform(model: DocumentUnderstanding.AvailableModelsForTextGenerationFramework, numTokens: Swift.Int) async -> [Swift.String] @objc override init() deinit }