Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notebook updates for opt-in upload on log() #313

Merged
merged 10 commits into from
Oct 30, 2024
4 changes: 2 additions & 2 deletions langkit/examples/Intro_to_Langkit.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"outputs": [],
"source": [
"# Note: you may need to restart the kernel to use updated packages.\n",
"%pip install -U langkit[all]"
"%pip install -U 'langkit[all]>=0.0.34'"
]
},
{
Expand All @@ -58,7 +58,7 @@
"from langkit import llm_metrics # alternatively use 'light_metrics'\n",
"import whylogs as why\n",
"\n",
"why.init()\n",
"why.init(upload_on_log=True)\n",
richard-rogers marked this conversation as resolved.
Show resolved Hide resolved
"# Note: llm_metrics.init() downloads models so this is slow first time.\n",
"schema = llm_metrics.init()"
]
Expand Down
4 changes: 2 additions & 2 deletions langkit/examples/huggingface_langkit_whylabs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"outputs": [],
"source": [
"%pip install transformers\n",
"%pip install 'langkit[all]'"
"%pip install 'langkit[all]>=0.0.34'"
]
},
{
Expand Down Expand Up @@ -144,7 +144,7 @@
"from langkit import llm_metrics # alternatively use 'light_metrics'\n",
"import whylogs as why\n",
"\n",
"why.init(session_type='whylabs_anonymous')\n",
"why.init(upload_on_log=True)\n",
"# Note: llm_metrics.init() downloads models so this is slow first time.\n",
"schema = llm_metrics.init()"
]
Expand Down
Loading