Improve API

This commit is contained in:
Andras Schmelczer 2022-06-26 23:31:15 +02:00
parent d40e22707a
commit e53afb07bc
4 changed files with 47 additions and 4 deletions

26
docs/hello_world.ipynb Normal file
View file

@ -0,0 +1,26 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from great_ai import GreatAI\n",
"\n",
"\n",
"@GreatAI.create\n",
"def hello_world(name: str) -> str:\n",
" return f\"Hello {name}!\"\n"
]
}
],
"metadata": {
"language_info": {
"name": "python"
},
"orig_nbformat": 4
},
"nbformat": 4,
"nbformat_minor": 2
}