mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-26 19:45:00 +02:00
Add eval
This commit is contained in:
@@ -570,7 +570,7 @@
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "9f81e316-94f1-47cc-93f2-bd6fa2d55870",
|
||||
"id": "ebcebf05-d455-4057-bf4c-6cc134bf62c9",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
@@ -612,8 +612,16 @@
|
||||
" custom_evaluators = [check_import,check_execution],\n",
|
||||
")\n",
|
||||
"\n",
|
||||
"client = Client()\n",
|
||||
"\n",
|
||||
"client = Client()"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "9f81e316-94f1-47cc-93f2-bd6fa2d55870",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# Run eval on base chain\n",
|
||||
"run_id = uuid.uuid4().hex[:4]\n",
|
||||
"project_name = \"context-stuffing-no-langgraph\"\n",
|
||||
@@ -689,6 +697,34 @@
|
||||
")"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "5a300e8b-0bd3-428f-ae32-b2a6080e8ebb",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# Get Results\n",
|
||||
"\n",
|
||||
"r = client.get_test_results(project_name=\"ee85-context-stuffing-with-langgraph\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "d19deeb6-9fc3-46b0-affb-5baaef4e9bba",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "d6340773-ca0b-4320-b841-093bbfb1161a",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
@@ -712,6 +748,22 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "9514f55f-bbb6-479a-9424-b29736fb1988",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "868e6d2d-3973-4f99-8026-4bf400690c12",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
|
||||
Reference in New Issue
Block a user