-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: William FH <[email protected]>
- Loading branch information
Showing
8 changed files
with
21 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -414,16 +414,16 @@ | |
"\n", | ||
"From the test project page, you can filter the results based on feedback metrics. For instance, to see the examples marked as incorrect, click on \"Correctness==0\" in the filters section.\n", | ||
"\n", | ||
"<img src=\"./img/filter_correctness.png\" alt=\"Incorrect Examples\" style=\"width:75%\">\n", | ||
"![Incorrect Examples](./img/filter_correctness.png)\n", | ||
"\n", | ||
"Once you've filtered the results, you can click on the individual runs to see the traces and triage where the chain failed. You can click on the image below to see\n", | ||
"for yourself. Navigating to the \"Feedback\" tab will show the evaluation results linked to this run. \n", | ||
"\n", | ||
"<a href=\"https://smith.langchain.com/public/3aa92e44-e11e-4299-8073-ac895386b8b8/r\"><img src=\"./img/see_trace.png\" alt=\"Incorrect Example Trace\" style=\"width:75%\"></a>\n", | ||
"![Incorrect Example Trace](./img/see_trace.png)\n", | ||
"\n", | ||
"You can click the link highlighted in red above to see the trace of the evaluator run. Since LLM-assisted evaluations are imperfect, viewing their traces is a good way to audit the feedback decisions, and it lets you decide when and how to tailor the prompt to your specific use case.\n", | ||
"\n", | ||
"<img src=\"./img/qa_eval_chain_run.png\" alt=\"QA Eval Chain Run\" style=\"width:75%\">\n" | ||
"![QA Eval Chain Run](./img/qa_eval_chain_run.png)\n" | ||
] | ||
}, | ||
{ | ||
|
@@ -534,14 +534,14 @@ | |
"source": [ | ||
"Now we can start comparing results. Navigate to the \"Retrieval QA Questions\" dataset page to see the aggregate feedback metrics for each test run. You can view your datasets by clicking the datasets & testing icon on the left bar.\n", | ||
"\n", | ||
"<img src=\"./img/dataset_test_runs.png\" alt=\"Datasets Page\" style=\"width:75%\">\n", | ||
"![Datasets Page](./img/dataset_test_runs.png)\n", | ||
"\n", | ||
"It looks like the new chain is passing all the examples now. Great job! Remember that this toy dataset, while illustrative, is too small to give a complete picture of the chain's performance. As we continue to prototype this chain, we can add more examples to the dataset.\n", | ||
"\n", | ||
"In addition to the aggregate feedback metrics, you can also view the individual predictions on each row. Click on the \"Examples\" tab to see each row in the dataset. Clicking on a given example will show the outputs from both test runs for that data point.\n", | ||
"Using the linked runs table, you can quickly compare predictions across chain versions to get a quick sense of the types of outputs you might see. You can click on each linked run to view the full traces again.\n", | ||
"\n", | ||
"<img src=\"./img/example.png\" alt=\"Example Page\" style=\"width:75%\">\n" | ||
"![Example Page](./img/example.png)" | ||
] | ||
}, | ||
{ | ||
|
@@ -557,14 +557,6 @@ | |
"\n", | ||
"Thanks for trying this out! If you have questions or suggestions, please open an issue on GitHub or reach out to us at [email protected]." | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "f2069907-34ea-44b5-8244-ff144bae4474", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [] | ||
} | ||
], | ||
"metadata": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters