Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -83,7 +83,7 @@
"class Product(BaseModel):\n",
" name: str = Field(description=\"The name of the product\")\n",
" description: str = Field(description=\"A description of the product\")\n",
" price: float = Field(description=\"The price of the product\", ge=10, le=1000, decimal_places=2)\n",
" price: float = Field(description=\"The price of the product\", ge=10, le=1000, round_places=2)\n",
" \n",
"\n",
"class ProductReview(BaseModel):\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -893,11 +893,13 @@
},
"outputs": [],
"source": [
"# Set to True if you'd like to test the interactive experience\n",
"interactive = False\n",
"designer.magic.add_column(\n",
" \"likely_diagnoses\",\n",
" \"A structured list of top-3 possible diagnoses\",\n",
" must_depend_on=[\"doctors_notes\"],\n",
" interactive=True,\n",
" interactive=interactive,\n",
" preview=True\n",
")"
]
Expand Down