Connection
Base URL, credentials and a reachable server.
Check the empty cell and all six dots, rejecting duplicate positions, dot seven and non-integer input.
Base URL, credentials and a reachable server.
A model available through the configured endpoint.
Context limits and tool support are determined by the model and server.
def braille_cell(dots):
if any(type(d) is not int or d < 1 or d > 6 for d in dots):
raise ValueError("dot range")
if len(set(dots)) != len(dots):
raise ValueError("duplicate dot")
return chr(0x2800 + sum(1 << (d - 1) for d in dots))