Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 746 Bytes

File metadata and controls

23 lines (12 loc) · 746 Bytes

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