trulens.core.schema.types¶
trulens.core.schema.types
¶
Type aliases.
Attributes¶
RecordID
module-attribute
¶
RecordID: TypeAlias = str
Unique identifier for a record.
By default these hashes of record content as json. Record.record_id.
AppID
module-attribute
¶
AppID: TypeAlias = str
Unique identifier for an app.
By default these are hashes of app content as json. See AppDefinition.app_id.
Tags
module-attribute
¶
Tags: TypeAlias = str
Tags for an app or record.
See AppDefinition.tags and Record.tags.
Metadata
module-attribute
¶
Metadata: TypeAlias = Dict
Metadata for an app, record, groundtruth, or dataset.
See AppDefinition.metadata, Record.meta, GroundTruth.meta, and Dataset.meta.
FeedbackDefinitionID
module-attribute
¶
FeedbackDefinitionID: TypeAlias = str
Unique identifier for a feedback definition.
By default these are hashes of feedback definition content as json. See FeedbackDefinition.feedback_definition_id.
FeedbackResultID
module-attribute
¶
FeedbackResultID: TypeAlias = str
Unique identifier for a feedback result.
By default these are hashes of feedback result content as json. See FeedbackResult.feedback_result_id.
GroundTruthID
module-attribute
¶
GroundTruthID: TypeAlias = str
Unique identifier for a groundtruth.
By default these are hashes of ground truth content as json.
DatasetID
module-attribute
¶
DatasetID: TypeAlias = str
Unique identifier for a dataset.
By default these are hashes of dataset content as json.