Skip to content

Conversation

@blob42
Copy link
Contributor

@blob42 blob42 commented Jun 16, 2023

  • Allows using the same wrapper to create multiple tools
wrapper = SearxSearchWrapper(searx_host="**")
github_tool = SearxSearchResults(name="Github",
                            wrapper=wrapper,
                            kwargs = {
                                "engines": ["github"],
                                })

arxiv_tool = SearxSearchResults(name="Arxiv",
                            wrapper=wrapper,
                            kwargs = {
                                "engines": ["arxiv"]
                                })
  • Updated link to searx documentation

    Agents / Tools / Toolkits

@vercel
Copy link

vercel bot commented Jun 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2023 7:24pm

@vercel vercel bot temporarily deployed to Preview June 16, 2023 10:17 Inactive
@vercel vercel bot temporarily deployed to Preview June 16, 2023 10:17 Inactive
@vercel vercel bot temporarily deployed to Preview June 16, 2023 10:23 Inactive
@vercel vercel bot temporarily deployed to Preview June 16, 2023 10:24 Inactive
@vercel vercel bot temporarily deployed to Preview June 16, 2023 16:38 Inactive
@vercel vercel bot temporarily deployed to Preview June 16, 2023 18:37 Inactive
blob42 added 2 commits June 16, 2023 21:10
- This allows to reuse the same wrapper on multiple searx tools with
  custom kwargs when they are called.
@vercel vercel bot temporarily deployed to Preview June 16, 2023 19:24 Inactive
Copy link
Contributor

@hwchase17 hwchase17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@hwchase17 hwchase17 merged commit ddd518a into langchain-ai:master Jun 19, 2023
This was referenced Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants