Coder Social home page Coder Social logo

Comments (4)

lgrammel avatar lgrammel commented on June 21, 2024 1

The example uses an old AI SDK version: "ai": "^2.2.14"

https://github.com/supabase-community/chatgpt-your-files/blob/main/package.json#L16

There have been numerous changes since then - the docs are for the current version of the AI SDK.

from ai.

lgrammel avatar lgrammel commented on June 21, 2024

@ai-sdk/react is the new package. what issues are you seeing?

from ai.

onurhan1337 avatar onurhan1337 commented on June 21, 2024

@lgrammel Sorry, I thought this was old since I see ai/react in most examples.

Actually https://github.com/supabase-community/chatgpt-your-files/ I'm trying to recode this project, but I'm getting some errors because most libraries get frequent updates.

In the given example the Chat field works fine, but it doesn't work for me even though it's the same code. When I look at the preview area of the request in Chrome devtools > network, I see that the result is coming, but the output generated by the AI in the chat area is not rendered. I can't find the cause of this problem.

Do you have a chance to take a look at the chat file below? Thank you in advance.

https://github.com/supabase-community/chatgpt-your-files/blob/main/app/chat/page.tsx

from ai.

onurhan1337 avatar onurhan1337 commented on June 21, 2024

Thanks 🙏

from ai.

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.