SwiftstructTextUnderstanding
DebugInformation
struct TextUnderstanding.DebugInformation
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
Members 8
- field
var availableExtractions: TextUnderstanding.AvailableExtractions?+0x10 - field
var documentLanguage: String?+0x18 - field
var documentText: String?+0x0 - field
var documentTextURLMapping: [String : Foundation.URL]?+0x30 - field
var documentTextWithModelInputMetadata: String?+0x38 - field
var languageIdentificationTextChunks: [TextUnderstanding.DebugInformation.LanguageIdentificationTextChunk]+0x48 - field
var modelExecutionRecords: [TextUnderstanding.ModelExecutionRecord]+0x28 - init
init(documentText: String?, availableExtractions: TextUnderstanding.AvailableExtractions?, documentLanguage: String?, modelExecutionRecords: [TextUnderstanding.ModelExecutionRecord], documentTextURLMapping: [String : Foundation.URL]?, documentTextWithModelInputMetadata: String?, languageIdentificationTextChunks: [TextUnderstanding.DebugInformation.LanguageIdentificationTextChunk]) -> TextUnderstanding.DebugInformation
Header
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]) }