Skip to content

Commit

Permalink
Fix a bad link in notebook (#307)
Browse files Browse the repository at this point in the history
* Fix a bad link in notebook

* tweak wordings

---------

Co-authored-by: Yazhou Cao <cyz19892002@gmail.com>
  • Loading branch information
AsiaCao and humpydonkey authored Nov 21, 2024
1 parent fef8f5c commit d30d621
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions examples/notebooks/counting_cans.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@
"source": [
"### Step 3 - Inspect the result\n",
"\n",
"The output of the `generate_code` method is a [`CodeContext`](https://github.com/landing-ai/vision-agent/blob/main/vision_agent/agent/agent_utils.py#L33-L37) object, which contains the generated code, a test case, a success flag, and the result of the test case.\n",
"The output of the `generate_code` method is a [CodeContext](https://github.com/landing-ai/vision-agent/blob/main/vision_agent/agent/agent_utils.py#L33-L37) object, which contains the generated code, a test case, a success flag, and the result of the test case.\n",
"\n",
"\n",
"```python\n",
Expand Down Expand Up @@ -1581,7 +1581,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Write a test case for the code above."
"Write a test case for the code above.\n",
"\n",
"| Tip: to get started with a simple test case, you can reference the `test` field from the response object, i.e. `response.test`."
]
},
{
Expand Down Expand Up @@ -1967,7 +1969,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Let's try another image"
"The result looks good. Let's try another image."
]
},
{
Expand Down Expand Up @@ -2286,7 +2288,7 @@
"\n",
"The Inventory percentage from the above result should be 100% but it's showing 68.6%. This is because the generated code harded coded the maximum capacity of the inventory to 35 cans.\n",
"\n",
"Let's update the generated code to allow passing in the maximum capacity as a parameter.\n"
"Let's update the generated code to allow passing maximum capacity as a parameter.\n"
]
},
{
Expand Down Expand Up @@ -2669,7 +2671,7 @@
"source": [
"## Next Steps\n",
"\n",
"- Try the VisionAgent web app at [visionagent.ai](https://visionagent.ai)\n",
"- Try the VisionAgent web app at [va.landing.ai](https://va.landing.ai)\n",
"- Learn more about the VisionAgent ecosystem in [this blog](https://landing.ai/blog/introducing-visionagent-your-visual-ai-pilot)\n",
"- Check out the open source repo at [github.com/landing-ai/vision-agent](https://github.com/landing-ai/vision-agent)"
]
Expand Down

0 comments on commit d30d621

Please sign in to comment.