Skip to content

march038/Langchain-Tavily-Websearch-GPT-Agent-Webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Search the web wiith Tavily and answer the prompt including the target-URL with a LangChain GPT-agent

Hi!

This agent searches the with Tavily using the TavilySearchResults tool from Langchain and answers the prompt, including the target-url webadress. Please note, that a (free) API-key is needed to use Tavily.

As always, I used streamlit to create a prototype webapp for displaying.

The following libraries are needed:

  • os (to set up API-keys for OpenAI and Tavily)

  • langchain

  • streamlit

As always, the code is thoroughly commented.

Have fun!

websearch_agent_screenshot

About

Use a Langchain GPT-agent to search the web with Tavily and answer the prompt including the target-URL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages