From db6af2139592b0f21e72c6221bb445767e1a0c7d Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Mon, 5 Feb 2024 11:15:06 -0800 Subject: [PATCH] docs: exa contents (#16555) --- docs/docs/integrations/tools/exa_search.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/integrations/tools/exa_search.ipynb b/docs/docs/integrations/tools/exa_search.ipynb index d38087279d5..50432253313 100644 --- a/docs/docs/integrations/tools/exa_search.ipynb +++ b/docs/docs/integrations/tools/exa_search.ipynb @@ -345,7 +345,7 @@ " Set the optional include_domains (list[str]) parameter to restrict the search to a list of domains.\n", " Set the optional start_published_date (str) parameter to restrict the search to documents published after the date (YYYY-MM-DD).\n", " \"\"\"\n", - " return exa.search(\n", + " return exa.search_and_contents(\n", " f\"{query}\",\n", " use_autoprompt=True,\n", " num_results=5,\n", @@ -359,7 +359,7 @@ " \"\"\"Search for webpages similar to a given URL.\n", " The url passed in should be a URL returned from `search`.\n", " \"\"\"\n", - " return exa.find_similar(url, num_results=5)\n", + " return exa.find_similar_and_contents(url, num_results=5)\n", "\n", "\n", "@tool\n",