SwiftstructTextUnderstanding

struct TextUnderstanding.DebugInformation

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 8

  1. fieldvar availableExtractions: TextUnderstanding.AvailableExtractions?+0x10
  2. fieldvar documentLanguage: String?+0x18
  3. fieldvar documentText: String?+0x0
  4. fieldvar documentTextURLMapping: [String : Foundation.URL]?+0x30
  5. fieldvar documentTextWithModelInputMetadata: String?+0x38
  6. fieldvar languageIdentificationTextChunks: [TextUnderstanding.DebugInformation.LanguageIdentificationTextChunk]+0x48
  7. fieldvar modelExecutionRecords: [TextUnderstanding.ModelExecutionRecord]+0x28
  8. initinit(documentText: String?, availableExtractions: TextUnderstanding.AvailableExtractions?, documentLanguage: String?, modelExecutionRecords: [TextUnderstanding.ModelExecutionRecord], documentTextURLMapping: [String : Foundation.URL]?, documentTextWithModelInputMetadata: String?, languageIdentificationTextChunks: [TextUnderstanding.DebugInformation.LanguageIdentificationTextChunk]) -> TextUnderstanding.DebugInformation
struct DebugInformation {
    struct LanguageIdentificationTextChunk {
        enum CodingKeys {
            case chunk
            case language
        }
        var chunk: Swift.String
        var language: Swift.String?

        init(chunk: Swift.String, language: Swift.String?)
    }
    enum CodingKeys {
        case documentText
        case availableExtractions
        case documentLanguage
        case modelExecutionRecords
        case documentTextURLMapping
        case documentTextWithModelInputMetadata
        case languageIdentificationTextChunks
    }
    var documentText: Swift.String?
    var availableExtractions: TextUnderstanding.AvailableExtractions?
    var documentLanguage: Swift.String?
    var modelExecutionRecords: [TextUnderstanding.ModelExecutionRecord]
    var documentTextURLMapping: [Swift.String : Foundation.URL]?
    var documentTextWithModelInputMetadata: Swift.String?
    var languageIdentificationTextChunks: [TextUnderstanding.DebugInformation.LanguageIdentificationTextChunk]

    init(documentText: Swift.String?, availableExtractions: TextUnderstanding.AvailableExtractions?, documentLanguage: Swift.String?, modelExecutionRecords: [TextUnderstanding.ModelExecutionRecord], documentTextURLMapping: [Swift.String : Foundation.URL]?, documentTextWithModelInputMetadata: Swift.String?, languageIdentificationTextChunks: [TextUnderstanding.DebugInformation.LanguageIdentificationTextChunk])
}