TrainingExample
public struct TrainingExample : Codable, Equatable
                Training example details.
- 
                  
                  
The document ID associated with this training example.
Declaration
Swift
public var documentID: String? - 
                  
                  
The cross reference associated with this training example.
Declaration
Swift
public var crossReference: String? - 
                  
                  
The relevance of the training example.
Declaration
Swift
public var relevance: Int? - 
                  
                  
Initialize a
TrainingExamplewith member variables.Declaration
Swift
public init( documentID: String? = nil, crossReference: String? = nil, relevance: Int? = nil )Parameters
documentIDThe document ID associated with this training example.
crossReferenceThe cross reference associated with this training example.
relevanceThe relevance of the training example.
Return Value
An initialized
TrainingExample. 
View on GitHub
        TrainingExample Structure Reference