Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
djstrong committed Jan 20, 2025
1 parent b759c6d commit 66b3f8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/api.nameai.dev/nameai/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down
6 changes: 3 additions & 3 deletions packages/nameai-sdk/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 66b3f8c

Please sign in to comment.