docs: exa contents (#16555)

This commit is contained in:
Erick Friis 2024-02-05 11:15:06 -08:00 committed by GitHub
parent fb245451d2
commit db6af21395
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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",