get_availability#

Interaction.get_availability(domain: InteractionDomain) float#

Get the availability of this interaction.

Parameters:
domainInteractionDomain

The interaction domain to get availability for.

Returns:
float

The availability value for this interaction. Returns -1 if not valid.

Raises:
ValueError

If the domain is not valid.