Skip to content

Avatars

API models for the avatars endpoint.

CheckAvatarResponse

A model response from ravyapi.api.endpoints.avatars.Avatars.check_avatar.

Attributes:

Name Type Description
data dict[str, Any]

The raw data returned from the Ravy API.

matched bool

Whether the avatar was matched.

key str

The avatar key that matched.

similarity float

Similarity of the avatar to the key, represented as a float between 0 and 1.

data property

data: dict[str, Any]

The raw data returned from the Ravy API.

key property

key: str | None

The avatar key that matched.

matched property

matched: bool

Whether the avatar was matched.

similarity property

similarity: float | None

Similarity of the avatar to the key, represented as a float between 0 and 1.