mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-26 16:43:35 +00:00
docs: exa contents (#16555)
This commit is contained in:
parent
fb245451d2
commit
db6af21395
@ -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 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",
|
" Set the optional start_published_date (str) parameter to restrict the search to documents published after the date (YYYY-MM-DD).\n",
|
||||||
" \"\"\"\n",
|
" \"\"\"\n",
|
||||||
" return exa.search(\n",
|
" return exa.search_and_contents(\n",
|
||||||
" f\"{query}\",\n",
|
" f\"{query}\",\n",
|
||||||
" use_autoprompt=True,\n",
|
" use_autoprompt=True,\n",
|
||||||
" num_results=5,\n",
|
" num_results=5,\n",
|
||||||
@ -359,7 +359,7 @@
|
|||||||
" \"\"\"Search for webpages similar to a given URL.\n",
|
" \"\"\"Search for webpages similar to a given URL.\n",
|
||||||
" The url passed in should be a URL returned from `search`.\n",
|
" The url passed in should be a URL returned from `search`.\n",
|
||||||
" \"\"\"\n",
|
" \"\"\"\n",
|
||||||
" return exa.find_similar(url, num_results=5)\n",
|
" return exa.find_similar_and_contents(url, num_results=5)\n",
|
||||||
"\n",
|
"\n",
|
||||||
"\n",
|
"\n",
|
||||||
"@tool\n",
|
"@tool\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user