From 1569b19191eab0e128ae1b5d3da3261c157e9aaf Mon Sep 17 00:00:00 2001 From: Bagatur <22008038+baskaryan@users.noreply.github.com> Date: Tue, 5 Mar 2024 15:05:44 -0800 Subject: [PATCH] docs: query analysis links (#18614) --- .../docs/use_cases/query_analysis/index.ipynb | 26 +++++++------------ 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/docs/docs/use_cases/query_analysis/index.ipynb b/docs/docs/use_cases/query_analysis/index.ipynb index 533d8b61d6..aa95fdff49 100644 --- a/docs/docs/use_cases/query_analysis/index.ipynb +++ b/docs/docs/use_cases/query_analysis/index.ipynb @@ -52,28 +52,20 @@ "\n", "## How to\n", "\n", - "* [Add examples to prompt](/docs/use_cases/query_analysis/few_shot): As our query analysis becomes more complex, adding examples to the prompt can meaningfully improve performance.\n", - "* [Deal with High Cardinality Categoricals](/docs/use_cases/query_analysis/high_cardinality): Many structured queries you will create will involve categorical variables. When there are a lot of potential values there, it can be difficult to do this correctly.\n", - "* [Construct Filters](/docs/use_cases/query_analysis/constructing-filters): This guide covers how to go from a Pydantic model to a filters in the query language specific to the vectorstore you are working with\n", - "* [Handle Multiple Queries](/docs/use_cases/query_analysis/multiple_queries): Some query analysis techniques generate multiple queries. This guide handles how to pass them all to the retriever.\n", - "* [Handle No Queries](/docs/use_cases/query_analysis/no_queries): Some query analysis techniques may not generate a query at all. This guide handles how to gracefully handle those situations\n", - "* [Handle Multiple Retrievers](/docs/use_cases/query_analysis/multiple_retrievers): Some query analysis techniques involve routing between multiple retrievers. This guide covers how to handle that gracefully" + "* [Add examples to prompt](/docs/use_cases/query_analysis/how_to/few_shot): As our query analysis becomes more complex, adding examples to the prompt can meaningfully improve performance.\n", + "* [Deal with High Cardinality Categoricals](/docs/use_cases/query_analysis/how_to/high_cardinality): Many structured queries you will create will involve categorical variables. When there are a lot of potential values there, it can be difficult to do this correctly.\n", + "* [Construct Filters](/docs/use_cases/query_analysis/how_to/constructing-filters): This guide covers how to go from a Pydantic model to a filters in the query language specific to the vectorstore you are working with\n", + "* [Handle Multiple Queries](/docs/use_cases/query_analysis/how_to/multiple_queries): Some query analysis techniques generate multiple queries. This guide handles how to pass them all to the retriever.\n", + "* [Handle No Queries](/docs/use_cases/query_analysis/how_to/no_queries): Some query analysis techniques may not generate a query at all. This guide handles how to gracefully handle those situations\n", + "* [Handle Multiple Retrievers](/docs/use_cases/query_analysis/how_to/multiple_retrievers): Some query analysis techniques involve routing between multiple retrievers. This guide covers how to handle that gracefully" ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "4581f8b1", - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "poetry-venv-2", "language": "python", - "name": "python3" + "name": "poetry-venv-2" }, "language_info": { "codemirror_mode": { @@ -85,7 +77,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.1" + "version": "3.9.1" } }, "nbformat": 4,