SwiftclassDocumentUnderstanding

class DocumentUnderstanding.GenerationTask

Members 7

  1. deinitdeinit
  2. fieldvar context: String
  3. fieldvar tgSession: TGTextGenerationSession?
  4. funcperform(model: DocumentUnderstanding.AvailableModelsForTextGenerationFramework) async -> [String]
  5. funcperform(model: DocumentUnderstanding.AvailableModelsForTextGenerationFramework, numTokens: Int) async -> [String]
  6. initDocumentUnderstanding.GenerationTask.__allocating_init(context: String) -> DocumentUnderstanding.GenerationTask
  7. initDocumentUnderstanding.GenerationTask.__allocating_init() -> DocumentUnderstanding.GenerationTask
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
}