Skip to content

Commit d300675

Browse files
authored
[Doc] Update built-in tools in README.md (#981)
This PR updates built-in tools in README.md `Langchain::Tool::Wikipedia` requires the `wikipedia-client` gem. This also adds the missing `Langchain::Tool::GoogleSearch` and `Langchain::Tool::Vectorsearch` to the list. `Langchain::Tool::RubyCodeInterpreter` has been moved to follow ASCII-based sort order.
1 parent c40d619 commit d300675

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,11 +551,13 @@ assistant.tool_execution_callback = -> (tool_call_id, tool_name, method_name, to
551551
* `Langchain::Tool::Calculator`: Useful for evaluating math expressions. Requires `gem "eqn"`.
552552
* `Langchain::Tool::Database`: Connect your SQL database. Requires `gem "sequel"`.
553553
* `Langchain::Tool::FileSystem`: Interact with the file system (read & write).
554-
* `Langchain::Tool::RubyCodeInterpreter`: Useful for evaluating generated Ruby code. Requires `gem "safe_ruby"` (In need of a better solution).
554+
* `Langchain::Tool::GoogleSearch`: Wrapper around SerpApi's Google Search API. Requires `gem "google_search_results"`.
555555
* `Langchain::Tool::NewsRetriever`: A wrapper around [NewsApi.org](https://newsapi.org) to fetch news articles.
556+
* `Langchain::Tool::RubyCodeInterpreter`: Useful for evaluating generated Ruby code. Requires `gem "safe_ruby"` (In need of a better solution).
556557
* `Langchain::Tool::Tavily`: A wrapper around [Tavily AI](https://tavily.com).
558+
* `Langchain::Tool::Vectorsearch`: A wrapper for vector search classes.
557559
* `Langchain::Tool::Weather`: Calls [Open Weather API](https://home.openweathermap.org) to retrieve the current weather.
558-
* `Langchain::Tool::Wikipedia`: Calls Wikipedia API.
560+
* `Langchain::Tool::Wikipedia`: Calls Wikipedia API. Requires `gem "wikipedia-client"`.
559561

560562
### Creating custom Tools
561563
The Langchain::Assistant can be easily extended with custom tools by creating classes that `extend Langchain::ToolDefinition` module and implement required methods.

0 commit comments

Comments
 (0)