SwiftstructTextUnderstanding

struct TextUnderstanding.Request.GuidedExtractionOptions

Structure

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

inherits{}

Members 4

  1. fieldlet model: TextUnderstanding.Request.GuidedExtractionOptions.Model+0x8
  2. fieldlet schema: TextUnderstanding.Schema+0x0
  3. fieldlet taskDescription: String?+0x10
  4. initinit(schema: TextUnderstanding.Schema, model: TextUnderstanding.Request.GuidedExtractionOptions.Model, taskDescription: String?) -> TextUnderstanding.Request.GuidedExtractionOptions
struct TextUnderstanding.Request.GuidedExtractionOptions {
    struct Model {
        enum ModelType {
            enum CodingKeys {
                case device
                case server
            }
            enum DeviceCodingKeys {}
            enum ServerCodingKeys {}
            case device
            case server
        }
        enum CodingKeys {
            case type
        }
        let type: TextUnderstanding.Request.GuidedExtractionOptions.Model.ModelType

        static func device() -> TextUnderstanding.Request.GuidedExtractionOptions.Model
        static func server() -> TextUnderstanding.Request.GuidedExtractionOptions.Model
    }
    enum CodingKeys {
        case schema
        case model
        case taskDescription
    }
    let schema: TextUnderstanding.Schema
    let model: TextUnderstanding.Request.GuidedExtractionOptions.Model
    let taskDescription: Swift.String?

    init(schema: TextUnderstanding.Schema, model: TextUnderstanding.Request.GuidedExtractionOptions.Model, taskDescription: Swift.String?)
}