Skip to content

Commit

Permalink
Merge pull request #313 from whylabs/dev/richard/1570
Browse files Browse the repository at this point in the history
Notebook updates for opt-in upload on log()
  • Loading branch information
richard-rogers authored Oct 30, 2024
2 parents 6c85612 + 10dfcb6 commit ebe21c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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",
"# 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

0 comments on commit ebe21c4

Please sign in to comment.