Skip to content

Commit

Permalink
fix: increase metadata field length in tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
burtenshaw committed Mar 28, 2023
1 parent ccd470a commit 3be37ea
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"import pprint as pp\n",
"from requests import get\n",
"\n",
Expand Down Expand Up @@ -908,6 +909,9 @@
},
"outputs": [],
"source": [
"# we need to set the metadata field length to 200 for longer urls\n",
"os.environ[\"ARGILLA_METADATA_FIELD_LENGTH\"] = \"200\"\n",
"\n",
"# instantiate Argilla records with vectors\n",
"records = [\n",
" rg.TextClassificationRecord(\n",
Expand Down

0 comments on commit 3be37ea

Please sign in to comment.