363 B
363 B
How to use a GreatAI service
After creating a GreatAI service by wrapping your prediction function, it's time to do some prediction.
Let's use the following example:
from great_ai import GreatAI
@GreatAI.create
def type_safe_greeter(your_name: str) -> str:
return f'Hi {your_name}'