TavilyWebSearch
This plugin is currently in beta. While it is considered safe for use, please be aware that its API could change in ways that are not compatible with earlier versions in future releases, or it might become unsupported.
WebSearch content retriever for Tavily Search
yaml
type: "io.kestra.plugin.langchain4j.retriever.TavilyWebSearch"
Chat with your data using Retrieval Augmented Generation (RAG) and a WebSearch content retriever. The Chat with RAG retrieves contents from a WebSearch client and provides a response grounded in data rather than hallucinating.
yaml
id: rag
namespace: company.team
tasks:
- id: chat_with_rag_and_websearch_content_retriever
type: io.kestra.plugin.langchain4j.rag.ChatCompletion
chatProvider:
type: io.kestra.plugin.langchain4j.provider.GoogleGemini
modelName: gemini-2.0-flash
apiKey: "{{ secret('GEMINI_API_KEY') }}"
contentRetrievers:
- type: io.kestra.plugin.langchain4j.retriever.TavilyWebSearch
apiKey: "{{ secret('TAVILY_API_KEY') }}"
prompt: What is the latest release of Kestra?
API Key
Default
3
Maximum number of results to return