Scores
Retrieve Prompt
Retrieve Training Dataset
ModelsExpand Collapse
class ScoreRetrievePromptResponse: …
details: DetailsDifferent components used to compute the final score
Different components used to compute the final score
captions_similarity: DetailsCaptionsSimilarityThe Dice-Sørensen similarity between the prompt and each captions from the model’s training images
The values are between 0 and 1. The higher the value, the more similar the prompt is to the training images’ captions
The Dice-Sørensen similarity between the prompt and each captions from the model’s training images
The values are between 0 and 1. The higher the value, the more similar the prompt is to the training images’ captions
The prompt’s score for the input modelId
The score is a number between 0 and 1. The higher the score, the better the prompt is for the model
status: Literal["complete", "incomplete", "unknown"]The status of the prompt’s score
Details if all the necessary data is present to compute the score
The status of the prompt’s score
Details if all the necessary data is present to compute the score
syntax_error: Optional[Literal["Prompt weight should be between 0 and 2", "Prompt weight symbol should be - or + with a maximum length of 5. Ex: --, ++, ---, +++++", "Unsupported prompt syntax: '[to:when], [from::when]'", 4 more]]Present only if the prompt has one or more syntax errors
The API checks several syntax errors in the prompt
Present only if the prompt has one or more syntax errors
The API checks several syntax errors in the prompt
class ScoreRetrieveTrainingDatasetResponse: …
details: DetailsDifferent components used to compute the final score
Different components used to compute the final score
asset_couples_captions_distance: List[DetailsAssetCouplesCaptionsDistance]For each couple of assets in the training dataset, the distance between the captions
For each couple of assets in the training dataset, the distance between the captions
asset_couples_similarity: List[DetailsAssetCouplesSimilarity]For each couple of assets in the training dataset, the similarity between the assets
For each couple of assets in the training dataset, the similarity between the assets
assets_embedding_similarity: List[DetailsAssetsEmbeddingSimilarity]For each asset, the similarity with the model’s embedding (excluding the current asset)
For each asset, the similarity with the model’s embedding (excluding the current asset)
couples_captions_distance: DetailsCouplesCaptionsDistanceThe min, mean, median of the assetCouplesCaptionsDistance
The min, mean, median of the assetCouplesCaptionsDistance
The training dataset’s score for the input modelId
The score is a number between 0 and 1. The higher the score, the most chance the model has to train well
status: Literal["complete", "incomplete", "unknown"]The status of the training dataset’s score
Details if all the necessary data is present to compute the score
The status of the training dataset’s score
Details if all the necessary data is present to compute the score
asset_couples_warnings: Optional[List[AssetCouplesWarning]]Present only if their is a warning between the assets of the couples
Present only if their is a warning between the assets of the couples