Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

searx_search: updated tools and doc #6276

Merged
merged 2 commits into from
Jun 19, 2023

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
- 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
13 checks passed
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