Build AI App Prototypes Visually with No-Code (Open-source)

AssemblyAI · Beginner ·🛠️ AI Tools & Apps ·2y ago

Key Takeaways

This video teaches viewers how to build AI app prototypes visually with no-code using Rivet, an open-source Graphical Development Environment for AI applications

Full Transcript

so I have not written even one line of code yet this is really all it takes I just have four notes I say run pass the URL and ask a question what is the most important item on the agenda in this meeting and we already get our answer the most important item on the agenda is proposal number four and we have a bit more information about it earlier this year Ironclad open sourced their graphical development environment for AI applications rivet it is a great environment to prototype AI applications without any code especially if you're building complex apps with multiple Services combined it is great to have this visual aspect you can also integrate the graphs you build in Rivet directly into your projects applications or products let's see how you can build a graph in Rivet using some of their plugins not surprisingly the first thing that you have to do is to install rivet on your laptop once you've done that you're going to have a environment like this um the text might be too small to see right now but I'll make sure to go uh slow to make sure you can uh follow along because I cannot make the text bigger at least in the interface so at first you're going to see the project name description and other things um I named this project Q&A with assembly AI because I'm going to build a project where we can uh give the application a URL to an audio file and then we're going to be able to ask a question about this audio file and get an answer as a a text format um once you've done that you want to make sure that you add the assembly AI plug-in so there are a bunch of plugins here assembly AI is one of the um first ones that we can see here all you have to do is say add and once that's installed you need one more step which is to get a assembly AI API key so for that if you haven't done so you can go to assembly ai.com and create an account if you already have an account you can log into your dashboard and then you can copy your token here and then we're going to go to the canvas again go to settings plugins and paste our assembly API key let's take a look at the structure before we get started so um this is a project and a project consists of multiple graphs so right now we only have one graph called an Untitled graph but we're going to build something slightly bigger in a second all right let's start with a simple example so if you want to add an audio file for example you can say data audio file or maybe I'll make it a bit bigger here and then I can add a assembly AI node transcribe audio and all I need to do is to connect the audio data to the audio input of assembly AI so to pass an audio file you can just pick a file here um for example the Gettysburg Address I think a very short version of it and when a node is running you're going to see this orange glow around the node and then we have the transcript object returned so what you get is the whole transcript object so the whole response that is returned you have the transcript ID and the transcript text here this is a very short file I think is around uh 5 10 seconds so that's why we get a very trans short transcript text so let's see how to build a full-blown project around this so I'll just delete these um I'm going to have three graphs so if I delete this graph I can right click and create a new graph so the first one will be transcribe audio the second one will be answer questions and then I'm going to have a main graph I can just call this Q&A on audio for example so let's do transcribe audio first so these are all separate graphs and in each of these graphs you can take of it as kind of like a function we're going to do only one thing so in the transcribe audio part I'm going to add a graph input through input and output so graph input means uh instead of going and uploading the audio directly I can get this input from outside of this graph into this graph uh maybe rename this as audio input and then this will be a audio URL and it will be a string again I'm adding a assembly AI transcribe audio uh you can either pass audio files or audio URLs to assembly AI so I'm going to pass this um the name is fine so I don't need to change that this is going to be audio transcription let's see see yes I can move them like this and this time we only need the transcript ID so what I'm going to do maybe if I zoom in so you can see it better I'm going to add a graph output from input and output graph output I'm going to get the transcript ID from this assembly AI node and then output that then I can call this transcript ID I also call it transcript ID here so the only job of this graph is going to be taking a audio URL and outputting the transcript ID so let's set up the answer question section again I need an input for this graph and the first one is going to be transcript ID input and what we're going to get like we specified in the other graph is going to be transcript ID and then another input and this input is going to be a question so it will be question input I will just simply call this a question again it's going to be a string next I'm going to add a lemur Q&A node the transcript ID is going to go into the transcript ID and the question is going going to go into the question question if you want you can even provide extra context for this question uh when you're setting it up but we only want to collect um two inputs from the user this time the question and the audio URL so as a response we're going to get the Json object like we've seen before um but I want to show you what the Json object looks like before we parse into it so I'm just going to create a graph output and we're going to Output the response directly um I'll just call this the Jason response all right so now we have two separate graphs so like I said we can think of them as two separate functions we're going to call them together in our main function so we're going to need two user inputs the first user input is going to be the audl we're going say please provide a URL linking to to an audio file second input from the user is going to be a question and we're going to say what do you want to know about this audio so when we run this graph this main graph uh the user is going to be prompted to answer these questions next I'm going to add a subgraph note so you go to Advan and then subgraph inside the settings you're going to select which graph you want so first we want to transcribe audio graph if you want you can specify an audio URL also in here I think that's going to be the default value and then I'm going to get the answer from the audio URL user input into my transcribe audio subgraph and then it's time to create another subgraph again add Advanced subgraph and this time I'm going to call the answer question subgraph like I said again you can specify a default value for these two inputs but we're going to get the transcript ID from the other sub graph and the question from the user input for the question and this way we should be able to get the Json response to this question so let's see what happens when I run it so first it's asking me for a audio file to a URL to an audio file I have a URL to a news report uh that is around 20 minutes long and my question will be what is the two most important items in this news report all right let's submit it and now at first the transcription is running oh and then we get an error so one thing um that you might want to do when you get unexpected errors is to change your executor so by default it's going to be the browser executor but there is another option which is the node.js executor some of the functionalities for the plugins might not work for the browser executor uh for safety reasons so let's change it to node and then see that everything works well I'm going to submit the same inputs now the subgraph for answering questions is running and we got a response so let's see what the response looks like we have a Json object or a dictionary if you want to call it that way uh of an answer and a question so we know what our question is and let's make it bigger we also know what our answer is the answer is based on the transcript the two most important items on the news report appear to be and then it gives us uh a list of what the two most important news items is so to fix that to fix what that looks like what we can do I'll just remove this graph input so to extract the answer from the response that we get we can use another node I think it was here yes objects extra extract object path um I'm going to send the response in here say extract answer and then um let's see what our response look like first so we have if you have if you ask multiple questions we're going to get multiple responses but we want to ask one question so far so as we see it's going to be a list and then inside there's going to be a answer key so let's parse it accordingly we're going to get the first element and inside we're going to want to get the answer from it and then I will add a graph output and connect the match into the graph output call this output the answer and it's going to be the answer all right let's come back to Q&A on audio and yeah now we see that the output is going to be the answer so let's run this again same audio file same question all right let's look at the answer now we have it a little bit um better formatted also so based on the transcript the two most important items in the news appear to be the Heatwave impacting large parts of the United States the arrest made in the Gilgo Beach murd case on Long Island okay that sounds serious and that's how simple it is to get answers to your questions based on an audio file uh with rivet using assembly AI plug-in if you want you can also use these graphs that you made directly in a nodejs project uh I will not go into the details of that in this video to save time you can take a look at this amazing tutorial made by one of my colleagues Neils uh where he goes through basically the same thing that we went through on this video and then also explains how to uh integrate these graphs in a njs project and you will also have access to the code if you go and take a look at the blog post I will make sure to leave a link in the description below it's getting easier and easier to set up these AI applications but one of the key things that you need to learn is how to prompt these models to get the response that you want if you want to get better at prompt engineering you can go take a look at this course made by Patrick on our Channel

Original Description

Earlier this year, Ironclad open sourced their Graphical Development Environment for AI applications Rivet. It is a great environment to prototype AI apps without any code. Especially if you’re building complex apps with multiple services, it is great to have the visual aspect and the no-code flexibility. You can also integrate the graphs you build in Rivet directly into your Node.js application. In this tutorial, you'll use Rivet to develop a graph that transcribes a podcast episode, and a graph that takes your question and generates an answer using LeMUR. You'll then call these two graphs to get answers to questions given an audio URL. Download Rivet: https://rivet.ironcladapp.com/ Here is the written tutorial with the Node.js integration code: https://www.assemblyai.com/blog/podcast-qa-application-rivet/?utm_source=youtube&utm_medium=referral&utm_campaign=yt_mis_56 What is Rivet by Ironclad? Rivet is a visual programming environment for building AI agents with LLMs. Iterate on your prompt graphs in Rivet, then run them directly in your application. With Rivet, teams can effectively design, debug, and collaborate on complex LLM prompt graphs, and deploy them in their own environment. How can you use Rivet? Rivet has a graphical interface that makes it very easy to quickly prototype AI applications. Just download it, set up your plugins and start building. How to prototype with AI APIs and services? Rivet is a great way to prototype AI applications. Using their graphical interface and plugins for many different AI services, you can build the prototype of an AI application with a few clicks. 00:00 Intro demo 00:21 What is Rivet by Ironclad? 00:47 Setting up the environment 02:09 Project structure 02:23 Simple transcription example 03:32 Set up project for Q&A 04:11 Transcription graph 05:38 Question answering graph 07:10 Main graph for Q&A 09:06 Example run 10:15 Finalizing the output format 12:36 Node.js integration 13:09 Watch next! ▬▬▬▬▬▬▬▬▬▬▬▬ CONNECT
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from AssemblyAI · AssemblyAI · 0 of 60

← Previous Next →
1 Python Speech Recognition in 5 Minutes
Python Speech Recognition in 5 Minutes
AssemblyAI
2 Python Click Part 1 of 4
Python Click Part 1 of 4
AssemblyAI
3 Python Click Part 2 of 4
Python Click Part 2 of 4
AssemblyAI
4 Python Click Part 3 of 4
Python Click Part 3 of 4
AssemblyAI
5 Python Click Part 4 of 4
Python Click Part 4 of 4
AssemblyAI
6 Deep learning in 5 minutes | What is deep learning?
Deep learning in 5 minutes | What is deep learning?
AssemblyAI
7 How to make a web app that transcribes YouTube videos with Streamlit | Part 1
How to make a web app that transcribes YouTube videos with Streamlit | Part 1
AssemblyAI
8 How to make a web app that transcribes YouTube videos with Streamlit | Part 2
How to make a web app that transcribes YouTube videos with Streamlit | Part 2
AssemblyAI
9 Batch normalization | What it is and how to implement it
Batch normalization | What it is and how to implement it
AssemblyAI
10 Real-time Speech Recognition in 15 minutes with AssemblyAI
Real-time Speech Recognition in 15 minutes with AssemblyAI
AssemblyAI
11 Regularization in a Neural Network | Dealing with overfitting
Regularization in a Neural Network | Dealing with overfitting
AssemblyAI
12 Add speech recognition to your Streamlit apps in 5 minutes
Add speech recognition to your Streamlit apps in 5 minutes
AssemblyAI
13 Transformers for beginners | What are they and how do they work
Transformers for beginners | What are they and how do they work
AssemblyAI
14 Automatic Chapter Detection With AssemblyAI | Python Tutorial
Automatic Chapter Detection With AssemblyAI | Python Tutorial
AssemblyAI
15 Deep Learning Series Part 1 - What is Deep Learning?
Deep Learning Series Part 1 - What is Deep Learning?
AssemblyAI
16 Deep Learning Series part 2 - Why is it called “Deep Learning”?
Deep Learning Series part 2 - Why is it called “Deep Learning”?
AssemblyAI
17 Activation Functions In Neural Networks Explained | Deep Learning Tutorial
Activation Functions In Neural Networks Explained | Deep Learning Tutorial
AssemblyAI
18 Deep Learning Series part 3 - Deep Learning vs. Machine Learning
Deep Learning Series part 3 - Deep Learning vs. Machine Learning
AssemblyAI
19 Deep Learning Series part 4 - Why is Deep Learning better for NLP?
Deep Learning Series part 4 - Why is Deep Learning better for NLP?
AssemblyAI
20 Intro to Batch Normalization Part 1
Intro to Batch Normalization Part 1
AssemblyAI
21 Intro to Batch Normalization Part 2
Intro to Batch Normalization Part 2
AssemblyAI
22 Intro to Batch Normalization Part 3 - What is Normalization?
Intro to Batch Normalization Part 3 - What is Normalization?
AssemblyAI
23 Intro to Batch Normalization Part 4
Intro to Batch Normalization Part 4
AssemblyAI
24 Intro to Batch Normalization Part 5
Intro to Batch Normalization Part 5
AssemblyAI
25 Sentiment Analysis for Earnings Calls with AssemblyAI
Sentiment Analysis for Earnings Calls with AssemblyAI
AssemblyAI
26 Summarizing my favorite podcasts with Python
Summarizing my favorite podcasts with Python
AssemblyAI
27 Introduction to Regularization
Introduction to Regularization
AssemblyAI
28 How/Why Regularization in Neural Networks?
How/Why Regularization in Neural Networks?
AssemblyAI
29 Getting Started With Torchaudio | PyTorch Tutorial
Getting Started With Torchaudio | PyTorch Tutorial
AssemblyAI
30 Types of Regularization
Types of Regularization
AssemblyAI
31 Tuning Alpha in L1 and L2 Regularization
Tuning Alpha in L1 and L2 Regularization
AssemblyAI
32 Dropout Regularization
Dropout Regularization
AssemblyAI
33 What is GPT-3 and how does it work? | A Quick Review
What is GPT-3 and how does it work? | A Quick Review
AssemblyAI
34 Backpropagation For Neural Networks Explained | Deep Learning Tutorial
Backpropagation For Neural Networks Explained | Deep Learning Tutorial
AssemblyAI
35 Jupyter Notebooks Tutorial | How to use them & tips and tricks!
Jupyter Notebooks Tutorial | How to use them & tips and tricks!
AssemblyAI
36 Best Free Speech-To-Text APIs and Open Source Libraries
Best Free Speech-To-Text APIs and Open Source Libraries
AssemblyAI
37 Regularization - Early stopping
Regularization - Early stopping
AssemblyAI
38 Regularization - Data Augmentation
Regularization - Data Augmentation
AssemblyAI
39 Bias and Variance for Machine Learning | Deep Learning
Bias and Variance for Machine Learning | Deep Learning
AssemblyAI
40 Recurrent Neural Networks (RNNs) Explained - Deep Learning
Recurrent Neural Networks (RNNs) Explained - Deep Learning
AssemblyAI
41 What is BERT and how does it work? | A Quick Review
What is BERT and how does it work? | A Quick Review
AssemblyAI
42 Introduction to Transformers
Introduction to Transformers
AssemblyAI
43 Transformers | What is attention?
Transformers | What is attention?
AssemblyAI
44 Transformers | how attention relates to Transformers
Transformers | how attention relates to Transformers
AssemblyAI
45 Transformers | Basics of Transformers
Transformers | Basics of Transformers
AssemblyAI
46 Supervised Machine Learning Explained For Beginners
Supervised Machine Learning Explained For Beginners
AssemblyAI
47 Transformers | Basics of Transformers Encoders
Transformers | Basics of Transformers Encoders
AssemblyAI
48 Transformers | Basics of Transformers I/O
Transformers | Basics of Transformers I/O
AssemblyAI
49 How to evaluate ML models | Evaluation metrics for machine learning
How to evaluate ML models | Evaluation metrics for machine learning
AssemblyAI
50 Unsupervised Machine Learning Explained For Beginners
Unsupervised Machine Learning Explained For Beginners
AssemblyAI
51 Weight Initialization for Deep Feedforward Neural Networks
Weight Initialization for Deep Feedforward Neural Networks
AssemblyAI
52 Q-Learning Explained - Reinforcement Learning Tutorial
Q-Learning Explained - Reinforcement Learning Tutorial
AssemblyAI
53 Should You Use PyTorch or TensorFlow in 2022?
Should You Use PyTorch or TensorFlow in 2022?
AssemblyAI
54 What is Layer Normalization? | Deep Learning Fundamentals
What is Layer Normalization? | Deep Learning Fundamentals
AssemblyAI
55 I created a Python App to study FASTER
I created a Python App to study FASTER
AssemblyAI
56 How to create your FIRST NEURAL NETWORK with TensorFlow!
How to create your FIRST NEURAL NETWORK with TensorFlow!
AssemblyAI
57 Neural Networks Summary: All hyperparameters
Neural Networks Summary: All hyperparameters
AssemblyAI
58 Getting Started with OpenAI API and GPT-3 | Beginner Python Tutorial
Getting Started with OpenAI API and GPT-3 | Beginner Python Tutorial
AssemblyAI
59 Convert Speech-To-Text In Python in 60 seconds!
Convert Speech-To-Text In Python in 60 seconds!
AssemblyAI
60 Gradient Clipping for Neural Networks | Deep Learning Fundamentals
Gradient Clipping for Neural Networks | Deep Learning Fundamentals
AssemblyAI

Related Reads

📰
‘Football Manager’ Spin-Off Could Help Clubs Find The Next Messi
Football Manager's database is being used to power a recruitment tool for football clubs to find top talent
Forbes Innovation
📰
What the Open Knowledge Format is, and what it is not
Learn about the Open Knowledge Format (OKF) and its capabilities for representing data models as plain markdown files
Dev.to AI
📰
Interview Coach: A Free, Open-Source AI Mock Interview Tool You Can Run Offline
Learn about Interview Coach, a free and open-source AI mock interview tool that can be run offline, and how to use it to improve your interview skills
Dev.to · Jerry Satpathy
📰
The Best AI Websites Nobody Talks About
Discover hidden gem AI websites that can boost your productivity and workflow, beyond popular ones like ChatGPT
Medium · ChatGPT

Chapters (13)

Intro demo
0:21 What is Rivet by Ironclad?
0:47 Setting up the environment
2:09 Project structure
2:23 Simple transcription example
3:32 Set up project for Q&A
4:11 Transcription graph
5:38 Question answering graph
7:10 Main graph for Q&A
9:06 Example run
10:15 Finalizing the output format
12:36 Node.js integration
13:09 Watch next!
Up next
How to Beat 99% of Businesses Using AI 5 Secrets (Poppy AI)
Poppy AI
Watch →