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

Include videos in the search results #61

Closed
miurla opened this issue Apr 21, 2024 · 3 comments
Closed

Include videos in the search results #61

miurla opened this issue Apr 21, 2024 · 3 comments

Comments

@miurla
Copy link
Owner

miurla commented Apr 21, 2024

serper api could be used to fetch the videos

SerperAPI: https://serper.dev/

@albertdbio
Copy link
Contributor

Hey @miurla is something I've been thinking about implementing.
Wanted to get your opinion before I proceed.
Would you prefer to add a custom markdown component that parses youtube urls and embeds them or would you want to stream a video component from the server?

@miurla
Copy link
Owner Author

miurla commented Apr 27, 2024

@albertdbio

Awesome! How cool are you.

Just like the image section, I want to add a video section and create a component that embeds YouTube. I think it'd be best if, when clicking on a video thumbnail, it enlarges in a modal just like images and plays.

In addition to the search tool, I'm thinking of adding a video search tool and envisioning it to be called by tool calling when the agent needs it, but do I have the right understanding with you?

https://github.com/miurla/morphic/blob/main/lib/agents/researcher.tsx#L50

If anything is unclear, please feel free to ask more questions.

image

@miurla
Copy link
Owner Author

miurla commented May 20, 2024

I'm working on this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants