mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-14 14:05:37 +00:00
docs: add name title for Anchor Browser (#32512)
# description change the sidebar name to Anchor Browser from anchor_browser. # Issue Anchor Browser sidebar name looks unattractive.
This commit is contained in:
@@ -1,19 +1,5 @@
|
|||||||
{
|
{
|
||||||
"cells": [
|
"cells": [
|
||||||
{
|
|
||||||
"cell_type": "raw",
|
|
||||||
"id": "2ce4bdbc",
|
|
||||||
"metadata": {
|
|
||||||
"vscode": {
|
|
||||||
"languageId": "raw"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"source": [
|
|
||||||
"---\n",
|
|
||||||
"sidebar_label: anchor_browser\n",
|
|
||||||
"---"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"id": "a6f91f20",
|
"id": "a6f91f20",
|
||||||
@@ -63,7 +49,7 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"%pip install --quiet -U langchain-anchorbrowser"
|
"%pip install --quiet -U langchain-anchorbrowser pydantic"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -147,16 +133,27 @@
|
|||||||
" {\"url\": \"https://docs.anchorbrowser.io\", \"width\": 1280, \"height\": 720}\n",
|
" {\"url\": \"https://docs.anchorbrowser.io\", \"width\": 1280, \"height\": 720}\n",
|
||||||
")\n",
|
")\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# Get a Screenshot for https://docs.anchorbrowser.io\n",
|
"# Define a Pydantic model for the web task output schema\n",
|
||||||
|
"from pydantic import BaseModel\n",
|
||||||
|
"from typing import List\n",
|
||||||
|
"\n",
|
||||||
|
"\n",
|
||||||
|
"class NodeCpuUsage(BaseModel):\n",
|
||||||
|
" node: str\n",
|
||||||
|
" cluster: str\n",
|
||||||
|
" cpu_avg_percentage: float\n",
|
||||||
|
"\n",
|
||||||
|
"\n",
|
||||||
|
"class OutputSchema(BaseModel):\n",
|
||||||
|
" nodes_cpu_usage: List[NodeCpuUsage]\n",
|
||||||
|
"\n",
|
||||||
|
"\n",
|
||||||
|
"# Run a web task to collect data from a web page\n",
|
||||||
"anchor_advanced_web_task_tool.invoke(\n",
|
"anchor_advanced_web_task_tool.invoke(\n",
|
||||||
" {\n",
|
" {\n",
|
||||||
" \"prompt\": \"Collect the node names and their CPU average %\",\n",
|
" \"prompt\": \"Collect the node names and their CPU average %\",\n",
|
||||||
" \"url\": \"https://play.grafana.org/a/grafana-k8s-app/navigation/nodes?from=now-1h&to=now&refresh=1m\",\n",
|
" \"url\": \"https://play.grafana.org/a/grafana-k8s-app/navigation/nodes?from=now-1h&to=now&refresh=1m\",\n",
|
||||||
" \"output_schema\": {\n",
|
" \"output_schema\": OutputSchema.model_json_schema(),\n",
|
||||||
" \"nodes_cpu_usage\": [\n",
|
|
||||||
" {\"node\": \"string\", \"cluster\": \"string\", \"cpu_avg_percentage\": \"number\"}\n",
|
|
||||||
" ]\n",
|
|
||||||
" },\n",
|
|
||||||
" }\n",
|
" }\n",
|
||||||
")"
|
")"
|
||||||
]
|
]
|
||||||
|
@@ -167,6 +167,11 @@ WEBBROWSING_TOOL_FEAT_TABLE = {
|
|||||||
"interactions": False,
|
"interactions": False,
|
||||||
"pricing": "Free trial, with flat rate plans and pre-paid credits after",
|
"pricing": "Free trial, with flat rate plans and pre-paid credits after",
|
||||||
},
|
},
|
||||||
|
"Anchor Browser": {
|
||||||
|
"link": "/docs/integrations/tools/anchor_browser",
|
||||||
|
"interactions": True,
|
||||||
|
"pricing": "Free trial, with flat rate plans and pre-paid credits after",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
DATABASE_TOOL_FEAT_TABLE = {
|
DATABASE_TOOL_FEAT_TABLE = {
|
||||||
|
@@ -719,6 +719,7 @@ packages:
|
|||||||
downloads_updated_at: '2025-08-10T21:38:36.795416+00:00'
|
downloads_updated_at: '2025-08-10T21:38:36.795416+00:00'
|
||||||
- name: langchain-anchorbrowser
|
- name: langchain-anchorbrowser
|
||||||
provider_page: anchor_browser
|
provider_page: anchor_browser
|
||||||
|
name_title: Anchor Browser
|
||||||
path: .
|
path: .
|
||||||
repo: anchorbrowser/langchain-anchorbrowser
|
repo: anchorbrowser/langchain-anchorbrowser
|
||||||
- name: toolbox-langchain
|
- name: toolbox-langchain
|
||||||
|
Reference in New Issue
Block a user