Giter Site home page Giter Site logo

Comments (13)

albertdbio avatar albertdbio commented on August 21, 2024 1

Firecrawl is pretty slow when I tested it
Is this fine? I'm sure the user would understand as long as we provide a spinner

from morphic.

albertdbio avatar albertdbio commented on August 21, 2024 1

Firecrawl uses playwright + turndown 😆
We can also use this one https://jina.ai/reader

I'll give it a shot, already got the researcher able to refer to the previous sources it pulled, just that the types are a bit tricky.
Just need to integrate those API's

I'll work on this one first and I'll see if I can get back to video section next week, it's been busy at work

from morphic.

miurla avatar miurla commented on August 21, 2024 1

Thank you. I was stuck with the chat history feature. I'll be able to start working on a different task soon.

from morphic.

albertdbio avatar albertdbio commented on August 21, 2024 1

Hey @miurla, fixed the types related to enabling follow up conversations and also found a way to enable function calling with groq so now I'm moving forward with adding FireCrawl, planning to push a PR by Sunday!

from morphic.

albertdbio avatar albertdbio commented on August 21, 2024 1

@miurla not using the groq sdk, it turns out the vercel ai sdk needed to be upgraded to a minor version. That minor version set's content as optional in the OpenAI zod schema. Groq doesn't return content when doing function calls so it would throw an invalid response error. Going to test it out with the inquire agent to verify that it's working.
Sounds good, I'll use main!

from morphic.

albertdbio avatar albertdbio commented on August 21, 2024 1

Got caught up with work over the weekend. Will continue chipping away at it this week. First I'll rebase on to main.

from morphic.

miurla avatar miurla commented on August 21, 2024

Try this: https://github.com/mendableai/firecrawl

from morphic.

albertdbio avatar albertdbio commented on August 21, 2024

Ahh nevermind, the crawl api which scrapes multiple pages is slow, just scraping one page is decent

from morphic.

miurla avatar miurla commented on August 21, 2024

It's a good try!
I got the following advice on our Discord. I'm going to try this.

You don't need firecrawl for this, IMHO, can just use Playwright/fetch and then use turndown to convert html to markdown

from morphic.

albertdbio avatar albertdbio commented on August 21, 2024

jina seems to me to be a tad bit faster btw, if you wanna try it out

from morphic.

miurla avatar miurla commented on August 21, 2024

@albertdbio Wow, that's great. Is the function calling an implementation that uses groq's sdk to replace the researcher's model? Looking forward to the PR.

from morphic.

miurla avatar miurla commented on August 21, 2024

@albertdbio I've merged significant changes, so it's best to develop from main.

from morphic.

miurla avatar miurla commented on August 21, 2024

I'm working on this feature.

from morphic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.