QueryResultMetadata
public struct QueryResultMetadata : Codable, Equatable
Metadata of a query result.
-
The document retrieval source that produced this search result.
See moreDeclaration
Swift
public enum DocumentRetrievalSource : String -
The document retrieval source that produced this search result.
Declaration
Swift
public var documentRetrievalSource: String? -
The collection id associated with this training data set.
Declaration
Swift
public var collectionID: String -
The confidence score for the given result. Calculated based on how relevant the result is estimated to be. confidence can range from
0.0to1.0. The higher the number, the more relevant the document. Theconfidencevalue for a result was calculated using the model specified in thedocument_retrieval_strategyfield of the result set. This field is only returned if the natural_language_query parameter is specified in the query.Declaration
Swift
public var confidence: Double?
View on GitHub
QueryResultMetadata Structure Reference