From 66b3f8c7e3a6e79b3ddf8375d90969da2df5f5d1 Mon Sep 17 00:00:00 2001 From: djstrong Date: Mon, 20 Jan 2025 19:51:02 +0100 Subject: [PATCH] renaming --- apps/api.nameai.dev/nameai/models.py | 2 +- packages/nameai-sdk/src/index.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/api.nameai.dev/nameai/models.py b/apps/api.nameai.dev/nameai/models.py index ac67fcad..c76ec232 100644 --- a/apps/api.nameai.dev/nameai/models.py +++ b/apps/api.nameai.dev/nameai/models.py @@ -55,7 +55,7 @@ class NameAIReport(BaseModel): ) sort_score: float = Field( title='Sort score of the input', - description='Score indicating how interesting/memorable the name is. For single labels, returns the score directly. For 2-label names (e.g., "nick.eth"), returns the score for the first label ("nick"). For 3 or more labels, returns 0. If the label is not inspected, this field will be 0. The score ranges from 0.0 to 1.0 inclusive, where 0.0 indicates least interesting and 1.0 indicates most interesting.', + description='Score indicating the relative ranking of the name. For single labels, returns the score directly. For 2-label names (e.g., "nick.eth"), returns the score for the first label ("nick"). For 3 or more labels, returns 0. If the label is not inspected, this field will be 0. The score ranges from 0.0 to 1.0 inclusive, where 0.0 indicates lowest rank and 1.0 indicates highest rank.', ge=0.0, le=1.0, ) diff --git a/packages/nameai-sdk/src/index.ts b/packages/nameai-sdk/src/index.ts index 7c928fb1..2d2fb007 100644 --- a/packages/nameai-sdk/src/index.ts +++ b/packages/nameai-sdk/src/index.ts @@ -99,10 +99,10 @@ export interface NameAIReport { purity_score: number; /** - * Score indicating how interesting/memorable the name is. For single labels, returns the score directly. For 2-label names (e.g., "nick.eth"), returns the + * Score indicating the relative ranking of the name. For single labels, returns the score directly. For 2-label names (e.g., "nick.eth"), returns the * score for the first label ("nick"). For 3 or more labels, returns 0. If the label is not inspected, - * this field will be 0. The score ranges from 0.0 to 1.0 inclusive, where 0.0 indicates least interesting - * and 1.0 indicates most interesting. + * this field will be 0. The score ranges from 0.0 to 1.0 inclusive, where 0.0 indicates lowest rank + * and 1.0 indicates highest rank. */ sort_score: number;