Giter VIP home page Giter VIP logo

Comments (10)

abrenneke avatar abrenneke commented on July 17, 2024 1

Fixed in #118

from rivet.

Swimburger avatar Swimburger commented on July 17, 2024 1

Thank you for moving fast on this! This would've blocked our tutorial :)

from rivet.

abrenneke avatar abrenneke commented on July 17, 2024 1

That looks correct if you haven't registered the plugin on the node side - have you called globalRivetNodeRegistry.registerPlugin(plugins.assemblyAi)?

from rivet.

abrenneke avatar abrenneke commented on July 17, 2024 1

// TODO 😉

from rivet.

Swimburger avatar Swimburger commented on July 17, 2024

The same error occurs when running the graph from node.js:

/Users/niels/RivetPodcastQnA/node_modules/@ironclad/rivet-core/dist/cjs/bundle.cjs:786
      throw new Error(`Unknown node type: ${type}`);
            ^

Error: Unknown node type: assemblyAiTranscribeAudio
    at NodeRegistration.createDynamicImpl (/Users/niels/RivetPodcastQnA/node_modules/@ironclad/rivet-core/dist/cjs/bundle.cjs:786:13)
    at new _GraphProcessor (/Users/niels/RivetPodcastQnA/node_modules/@ironclad/rivet-core/dist/cjs/bundle.cjs:7041:53)
    at createProcessor (/Users/niels/RivetPodcastQnA/node_modules/@ironclad/rivet-node/dist/cjs/bundle.cjs:144:21)
    at runGraph (/Users/niels/RivetPodcastQnA/node_modules/@ironclad/rivet-node/dist/cjs/bundle.cjs:249:25)
    at runGraphInFile (/Users/niels/RivetPodcastQnA/node_modules/@ironclad/rivet-node/dist/cjs/bundle.cjs:132:10)

Node.js v20.5.1

from rivet.

abrenneke avatar abrenneke commented on July 17, 2024

Ah thanks for reporting, I don't think it should be that difficult of a fix.

from rivet.

abrenneke avatar abrenneke commented on July 17, 2024

@all-contributors please add @Swimburger for bug

from rivet.

allcontributors avatar allcontributors commented on July 17, 2024

@abrenneke

I've put up a pull request to add @Swimburger! 🎉

from rivet.

Swimburger avatar Swimburger commented on July 17, 2024

I'm still getting the error when using it from node.js:

/Users/niels/RivetPodcastQnA/node_modules/@ironclad/rivet-core/dist/cjs/bundle.cjs:788
      throw new Error(`Unknown node type: ${type}`);
            ^

Error: Unknown node type: assemblyAiTranscribeAudio
    at NodeRegistration.createDynamicImpl (/Users/niels/RivetPodcastQnA/node_modules/@ironclad/rivet-core/dist/cjs/bundle.cjs:788:13)
    at new _GraphProcessor (/Users/niels/RivetPodcastQnA/node_modules/@ironclad/rivet-core/dist/cjs/bundle.cjs:7264:53)
    at createProcessor (/Users/niels/RivetPodcastQnA/node_modules/@ironclad/rivet-node/dist/cjs/bundle.cjs:144:21)
    at runGraph (/Users/niels/RivetPodcastQnA/node_modules/@ironclad/rivet-node/dist/cjs/bundle.cjs:249:25)
    at runGraphInFile (/Users/niels/RivetPodcastQnA/node_modules/@ironclad/rivet-node/dist/cjs/bundle.cjs:132:10)

Node.js v20.5.1

How are we supposed to use built-in plugins from Node.js?

from rivet.

Swimburger avatar Swimburger commented on July 17, 2024

Splendid, that works! I was expecting something like this because in the Rivet UI you also need to enable the plugin.
I just couldn't find how to do it. Is the documented anywhere? Maybe it should be part of a sample?

from rivet.

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.