great-ai/docs/hello_world.py
2022-06-26 13:13:08 +02:00

6 lines
110 B
Python

from great_ai import GreatAI
@GreatAI.create
def hello_world(name: str) -> str:
return f"Hello {name}!"