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

Add Tool to Retrieve Page Content from Specific URLs #155

Merged
merged 3 commits into from
May 18, 2024
Merged

Add Tool to Retrieve Page Content from Specific URLs #155

merged 3 commits into from
May 18, 2024

Conversation

miurla
Copy link
Owner

@miurla miurla commented May 18, 2024

Overview

This PR introduces a tool that retrieves content from specific URLs provided by the user. The tool leverages the Exa API to fetch the content and display it in the UI.
Closes: #92

Details

  • Added a new tool in lib/agents/tools/retrieve.tsx that retrieves content from the web.
  • The tool requires an Exa API Key to function.
  • If the retrieval is successful, the content is displayed using the RetrieveSection component.
  • In case of an error, an appropriate message is displayed to the user.

Requirements

  • Exa API Key must be set in the environment variables.

Copy link

vercel bot commented May 18, 2024

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

Name Status Preview Comments Updated (UTC)
morphic ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 18, 2024 2:40am

@miurla miurla merged commit 6d40d74 into main May 18, 2024
2 checks passed
@miurla miurla deleted the retrieve branch May 18, 2024 02:41
@arsaboo
Copy link

arsaboo commented May 18, 2024

@miurla why not use https://jina.ai/reader/? Seems like a much better fit.

@miurla
Copy link
Owner Author

miurla commented May 18, 2024

@arsaboo Ah, I hadn't tried jina.ai/reader. It seems to fit. Thank you.

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.

Enable deep searching of specific URLs
2 participants