Skip to content

feat(langchain-tavily): creating and implementing the Tavily Partner package for the js library #7957

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

Merged
merged 11 commits into from
Apr 17, 2025

Conversation

michaelgriff
Copy link
Contributor

Summary

This tool provides a straightforward interface by which Agents can use Tavily Search and Extract to gain access to real-time,
accurate search results tailored for LLMs and RAG.

Notes

  • This tool provides an interface for Tavily's Search and Extract functionality, exposing the features offered by Tavily's API in the LangChain ecosystem.
  • Use of the tool will require a Tavily API Key, either passed in to the client on instantiation (using the tavilyApiKey field) or by setting the TAVILY_API_KEY environment variable.
  • When using the tool, many of the parameters can be specified on tool instantiation (for default use on all invocations) or specified on specific invocations. Reference on how to structure the invocation parameters for both Search and Extract can be found in their respective tool definition files.

See the Tavily documentation for more information on how to effectively use what Tavily has to offer.

Copy link

vercel bot commented Apr 3, 2025

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

Name Status Preview Comments Updated (UTC)
langchainjs-docs ✅ Ready (Inspect) Visit Preview Apr 17, 2025 1:57am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ⬜️ Ignored (Inspect) Apr 17, 2025 1:57am

@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Apr 3, 2025
@dosubot dosubot bot added the auto:enhancement A large net-new component, integration, or chain. Use sparingly. The largest features label Apr 3, 2025
@michaelgriff
Copy link
Contributor Author

@benjamincburns any thoughts on changes that need to be made to fix the failing checks?

Let me know! Happy to discuss directly as well - if it would be easier.

@benjamincburns
Copy link
Collaborator

@michaelgriff based on the build errors, it looks like you forgot to commit the yarn.lock file.

@michaelgriff
Copy link
Contributor Author

@benjamincburns good catch - just pushed the changes

@michaelgriff
Copy link
Contributor Author

@benjamincburns anything else required to get this in? Let me know if theres anything needed from my end!

@benjamincburns benjamincburns merged commit e219b0b into langchain-ai:main Apr 17, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:enhancement A large net-new component, integration, or chain. Use sparingly. The largest features size:XXL This PR changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants