morphic icon indicating copy to clipboard operation
morphic copied to clipboard

Include videos in the search results

Open miurla opened this issue 2 months ago • 3 comments

serper api could be used to fetch the videos

SerperAPI: https://serper.dev/

miurla avatar Apr 21 '24 10:04 miurla

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?

albertdbio avatar Apr 26 '24 02:04 albertdbio

@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 avatar Apr 27 '24 03:04 miurla

I'm working on this feature.

miurla avatar May 20 '24 01:05 miurla