diff --git a/docs/docs/use_cases/question_answering/query_analysis.ipynb b/docs/docs/use_cases/question_answering/query_analysis.ipynb index 356eb15c0215f..b1af900ce5be8 100644 --- a/docs/docs/use_cases/question_answering/query_analysis.ipynb +++ b/docs/docs/use_cases/question_answering/query_analysis.ipynb @@ -1522,18 +1522,14 @@ "source": [ "question = \"What are the most popular videos about RAG?\"\n", "queries = [\n", - " LangChainYouTubeSearch(title_search=\"RAG\", sort_by=\"view_count\", relevance_rank=1),\n", - " LangChainYouTubeSearch(\n", - " content_search=\"RAG\", sort_by=\"view_count\", relevance_rank=2\n", - " ),\n", - " LangChainYouTubeSearch(\n", + " TutorialSearch(title_search=\"RAG\", sort_by=\"view_count\", relevance_rank=1),\n", + " TutorialSearch(content_search=\"RAG\", sort_by=\"view_count\", relevance_rank=2),\n", + " TutorialSearch(\n", " content_search=\"retrieval augmented generation\",\n", " sort_by=\"view_count\",\n", " relevance_rank=3,\n", " ),\n", - " LangChainYouTubeSearch(\n", - " content_search=\"retrieval\", sort_by=\"view_count\", relevance_rank=4\n", - " ),\n", + " TutorialSearch(content_search=\"retrieval\", sort_by=\"view_count\", relevance_rank=4),\n", "]\n", "examples.append({\"input\": question, \"tool_calls\": queries})" ] @@ -1547,13 +1543,13 @@ "source": [ "question = \"What are some short videos about agentic systems with local models?\"\n", "queries = [\n", - " LangChainYouTubeSearch(\n", + " TutorialSearch(\n", " content_search=\"how to build an agent using a local model\",\n", " sort_by=\"length\",\n", " sort_order=\"ascending\",\n", " relevance_rank=1,\n", " ),\n", - " LangChainYouTubeSearch(\n", + " TutorialSearch(\n", " title_search=\"agent local model\",\n", " sort_by=\"length\",\n", " sort_order=\"ascending\",\n",