Getting Started with MindStudio

MindStudio by YouAi
19 Nov 202318:47

Summary

TLDRThis video script introduces viewers to Mind Studio, a platform for creating AI-powered applications. It guides users through the process of leveraging foundational models, incorporating user inputs and custom data, and building unique AI solutions. The tutorial covers creating an AI, configuring its workflow with various blocks, and integrating custom JavaScript functions for advanced capabilities. It also demonstrates how to publish the AI, gather user emails, and integrate with services like MailChimp for marketing purposes, highlighting the platform's versatility and potential for rapid development of tailored AI applications.

Takeaways

  • 🚀 Start by creating an account in Mind Studio to leverage foundational models for your AI application stack.
  • 📈 Choose from various templates or start with a blank project to customize your AI's capabilities.
  • 🔍 The Mind Studio editor is divided into the Navigator for resources and the Explorer for editing and adjustments.
  • 📝 Write a clear AI prompt defining the role and task of the AI in the interaction.
  • 🔗 Use markdown formatting for better organization and clarity of the AI's instructions.
  • 🔄 Create an AI workflow with the automations tab, using different blocks for various interactions.
  • 📊 Add user inputs by configuring input types, variable names, and labels in the Navigator.
  • 💬 Send messages using the send message block to reference variables and provide explicit instructions to the AI.
  • 📚 Incorporate custom data sources into the AI by uploading files and creating a new Vector database.
  • 🌐 Configure the foundational model, temperature, and max response size in the model settings tab.
  • 🔑 Access and sharing options allow you to control the visibility and distribution of your AI application.

Q & A

  • What is Mind Studio and how does it help in building AI applications?

    -Mind Studio is a platform that allows users to build AI-powered applications by leveraging foundational models as the base intelligence for their application stack. Users can incorporate additional resources such as user inputs, custom data sources, and custom JavaScript functions to expand the capabilities of the AI and create bespoke AI solutions for unique use cases.

  • How does one get started with creating a new AI in Mind Studio?

    -To create a new AI in Mind Studio, users need to sign up for an account and then navigate to the 'My AIs' page. From there, they can click on the 'New AI' button at the top right, choose from a variety of templates or start with a blank project, and proceed to the Mind Studio editor to begin building their AI workflow.

  • What are the two major sections of the Mind Studio editor?

    -The Mind Studio editor is divided into two major sections: the Navigator on the left, which shows all the resources used in creating the AI, including the root config file, data sources, custom functions, and user inputs; and the Explorer on the right, where all edits and adjustments are made.

  • How does the AI Prompt function in Mind Studio?

    -The AI Prompt is the initial set of system instructions provided by the user to the AI. It varies in length and content depending on the use case and requirements. When writing a prompt, it's helpful to assign a role to the AI, such as an assistant, and a task for it to complete, and to use markdown formatting for better organization and clarity.

  • What is the purpose of the 'Automations' tab in Mind Studio?

    -The 'Automations' tab in Mind Studio is used to create the AI workflow using various types of blocks that correspond to different kinds of interactions within the AI-powered app. Users can drag blocks around, zoom in and out, and scroll in any direction within the automation canvas.

  • How can user inputs be collected and utilized in Mind Studio?

    -User inputs can be collected in Mind Studio by creating a new user input and adding it to a 'Collect Input' block within the automations. Users can choose the input type, assign a variable name, and configure aspects like label text and placeholder text. These inputs can then be referenced in other parts of the AI workflow.

  • What is the role of data sources in AI development within Mind Studio?

    -Data sources in Mind Studio serve as references for the AI to query. They can be created in the Navigator, and at least one file must be uploaded as the data source. The AI does not use the full source material as context but rather queries the database and uses the query result as context. This feature allows the AI to reference external information or content when generating responses.

  • How can the AI's responses be customized in Mind Studio?

    -The AI's responses can be customized in Mind Studio by adjusting the model settings. Users can select the foundational model they want to use, such as GPT-3.5 Turbo, and modify the temperature of the model to control the predictability of the AI's responses. Additionally, the max response size can be adjusted to control the length of individual responses.

  • What are some of the publishing and sharing options available in Mind Studio?

    -After completing the AI configuration, users can publish it and choose a plan. They can enable password protection, remove Mind Studio UI branding, embed the AI on third-party sites, and even charge for access if they have a pro or business subscription. The AI can be shared by copying the URL or using the share menu.

  • How can the AI be integrated into a user's own website using Mind Studio?

    -To integrate the AI into a user's own website, they need to have a pro or business subscription to unlock the embedding feature. Once enabled, an embed code is provided which can be used within the user's site. The AI can then be used seamlessly on the published or exported site, with the same functionalities applying as if it were on the Mind Studio platform.

  • What kind of analytics and logs are available for an AI created with Mind Studio?

    -After publishing an AI, users can access a dashboard in the 'My AIs' page that provides lifetime analytics for the AI, as well as any logs that may have been collected. This allows users to monitor the performance and interactions of their AI application.

  • How can one ensure their domain is authorized for embedding the AI on a website?

    -To authorize a domain for embedding the AI, users need to copy the authorization URL provided in the Mind Studio settings and paste it into their website. This allows the AI to function correctly when embedded within an iframe on the authorized domain.

Outlines

00:00

🚀 Getting Started with Mind Studio

This paragraph introduces the viewer to Mind Studio, a platform for building AI-powered applications. It explains that users can leverage foundational models as the base intelligence for their applications and enhance them with user inputs, custom data sources, and JavaScript functions. The process of creating an account and getting started with a new AI project is outlined, including selecting templates and navigating the Mind Studio editor, which is divided into the Navigator for resources and the Explorer for editing.

05:02

📝 Crafting the AI Workflow

The second paragraph delves into the specifics of constructing the AI workflow. It covers the creation of the AI prompt, which sets the role and task for the AI, and the use of markdown formatting for organization. The paragraph also describes how to use the automations tab to build the AI's interaction logic with various blocks, such as collect input and send message blocks. Additionally, it explains how to incorporate custom data sources and configure them for the AI to reference, enhancing the AI's capabilities.

10:02

🎨 Customizing and Publishing the AI

This paragraph focuses on customizing the AI's settings and preparing it for publishing. It discusses the configuration of the AI's foundational model, temperature, and max response size. The process of setting up metadata, such as the AI's name and description, is detailed. The paragraph also touches on premium features available to pro and business subscribers, like password protection and embedding the AI on third-party sites. Finally, it outlines how to preview, publish, and share the AI, as well as accessing analytics and logs post-publication.

15:03

🔗 Integrating with MailChimp and Embedding the AI

The final paragraph demonstrates how to add additional capabilities to the AI, such as collecting emails and integrating with MailChimp. It explains the creation of new user inputs and the use of function blocks to run custom JavaScript code for workflows. The paragraph also covers the process of embedding the AI into a website using an embed code, which is accessible with a pro or business subscription. The integration allows the AI to function within the website, collecting emails and generating content as before. The paragraph concludes by highlighting the potential of Mind Studio and encouraging viewers to explore further resources for learning.

Mindmap

Keywords

💡Mind Studio

Mind Studio is a platform for building AI-powered applications. It allows users to leverage foundational models as the base intelligence for their application stack and incorporate additional resources such as user inputs, custom data sources, and JavaScript functions to tailor the AI to specific use cases. In the video, the creator uses Mind Studio to build a blog post generator, showcasing its capabilities and ease of use.

💡AI Prompt

An AI prompt is the initial set of instructions provided to the AI, which varies in length and content based on the use case and requirements. It typically includes a role for the AI to take on and a task for it to complete. In the context of the video, the AI prompt is used to guide the AI in generating blog posts based on user inputs.

💡User Inputs

User inputs are the data provided by the end-user that the AI can utilize to perform tasks or generate responses. In the video, user inputs are collected to determine what topic the AI should write about, and they are added as variables in the AI workflow.

💡Custom Data Sources

Custom data sources are additional information or content that users can upload to Mind Studio to be used as references for the AI. These sources can include documents, articles, or any other relevant data that the AI can query to provide context or enhance its responses.

💡Workflow

A workflow in the context of AI development refers to the series of steps or actions that the AI performs to accomplish a task or respond to user inputs. Workflows can be visually designed using blocks that represent different interactions within the AI application.

💡Vector Database

A vector database is a system used by AI applications to store and manage data in a format that allows for efficient querying and processing. It is created when a new data source is added in Mind Studio, enabling the AI to use the data as context for its responses.

💡Foundational Models

Foundational models are the underlying AI models that serve as the base intelligence for applications built in Mind Studio. These models provide a starting point for developers to build upon and customize for specific use cases.

💡Markdown Formatting

Markdown formatting is a lightweight markup language used to organize and format text, making it easier to read and understand. In the context of the video, it can be used within the AI prompt to structure the content and improve clarity for both the AI and human collaborators.

💡Embedding

Embedding refers to the process of integrating an AI application or content within a website or platform. This allows users to interact with the AI directly on the website without needing to visit a separate application or platform.

💡MailChimp

MailChimp is an email marketing platform used to manage and send emails to subscribers. In the video, the AI application is configured to collect email addresses from users and add them as subscribers to a MailChimp mailing list.

💡Automation

Automation in AI applications refers to the process of creating predefined sequences of actions that the AI can perform in response to specific triggers or user inputs. This streamlines tasks and enhances user experience by reducing the need for manual intervention.

Highlights

Introduction to Mind Studio for building AI-powered applications.

Leverage foundational models as the base intelligence for your application stack.

Incorporate user inputs, custom data sources, and JavaScript functions to expand AI capabilities.

Creating an account leads to the 'My AIs' page for new AI creation.

Mind Studio editor is divided into Navigator and Explorer for resource management and editing.

The main AI workflow is created in the 'mainflow' file.

AI Prompt is the initial set of instructions provided to the AI, which can include a role and task.

Markdown formatting can be used in prompts for better organization.

Automations tab allows creating AI workflows with various interaction blocks.

Collect Input block is used to gather user inputs for the AI.

User inputs can be configured with variable names, labels, and placeholders.

Send Message block is for providing explicit instructions to the AI using variables.

Custom data sources can be created in the Navigator for AI reference.

Data sources uploaded create a Vector database for AI to query.

AI does not use full source material as context but queries the database for responses.

System introduction can be set in the model settings tab for the AI chat.

Choose a foundational model and adjust model settings like temperature and max response size.

Publishing the AI involves metadata entry and selection of a plan.

AI can be shared via URL or embedded on third-party sites with pro features.

Additional capabilities like email collection and integration with services like MailChimp can be added.

Mind Studio's embedding feature requires a pro or business subscription.

AI applications built with Mind Studio can be fully customized and offer fast development.

Transcripts

play00:00

hi there and welcome to mind studio in

play00:02

this video we'll be walking you through

play00:04

everything you need to get started

play00:05

building your own AI powered app using

play00:08

mind Studio using mind Studio you

play00:10

leverage foundational models as the base

play00:12

intelligence for your application stack

play00:15

then you can incorporate all kinds of

play00:17

additional resources like user inputs

play00:19

custom data sources and custom

play00:21

JavaScript functions to expand the

play00:23

capabilities of your AI and build

play00:25

bespoke AIS for your unique use case

play00:28

after creating an account you will be

play00:30

taken to the my AIS page from here click

play00:33

on the new AI button at the top right to

play00:35

create a new

play00:39

AI you can choose from a variety of

play00:41

templates or start with a blank

play00:46

project after selecting a template

play00:49

you'll be taken into the Mind Studio

play00:51

editor the editor is separated into two

play00:53

major sections on the left you'll find

play00:56

the Navigator which will show you all of

play00:58

the resources used in creating your your

play01:00

AI this includes your root config

play01:04

file and any data sources custom

play01:07

functions and user inputs it also

play01:11

includes your mainflow file which is

play01:13

where you'll be creating the majority of

play01:15

your AI

play01:17

workflow the larger area on the right is

play01:20

the Explorer which is where you'll be

play01:22

making all of your edits and adjustments

play01:24

the interface of this area will change

play01:26

depending on the resource you're working

play01:28

in let's start building our first AI we

play01:32

can quickly give our AI a name by

play01:34

navigating to our root

play01:40

folder for this demo we're going to be

play01:42

building a blog post

play01:49

generator we can come back to this

play01:51

config file at the end of our build to

play01:53

fill out the rest before we

play01:55

publish now let's navigate to our

play01:57

mainflow file

play02:02

here we can begin writing our main AI

play02:04

prompt The Prompt is the initial set of

play02:06

system instructions that you provide to

play02:08

the AI all prompts will vary in length

play02:11

and content depending on the use case

play02:12

and requirements but a general rule of

play02:15

thumb for writing your prompt is to

play02:16

include a role for your AI to take on

play02:19

and a task for it to

play02:24

complete when writing your prompt you

play02:26

may want to refer to your AI as

play02:28

assistant and your user as human in

play02:30

order to distinguish how each party will

play02:32

participate in the

play02:35

interaction lastly you may optionally

play02:37

choose to use markdown formatting in

play02:39

your prompt to better organize your

play02:41

thoughts for collaborators or for later

play02:48

editing next let's navigate to the

play02:50

automations

play02:52

tab here we can begin to create our AI

play02:55

workflow using various types of blocks

play02:58

that correspond to different kinds of

play03:00

interactions within our AI powered

play03:03

app inside of the automation canvas we

play03:06

can drag blocks

play03:10

around zoom in and

play03:13

out and scroll in any

play03:17

direction if you get lost while

play03:19

scrolling you can also use the home

play03:21

button to reset the

play03:26

canvas for this blog post generator we

play03:28

might want to ask our user what they'd

play03:30

like to write about to do this we can

play03:33

add a collect input

play03:38

block you'll notice in our explorer that

play03:40

we have an empty space on the right hand

play03:42

side to add our user inputs so we'll

play03:45

need to create a new user input to add

play03:48

here we can do this by tapping on the

play03:51

plus button and then clicking create

play03:55

new or by clicking on the plus button

play03:58

next to the user input UTS

play04:00

folder if we open up the folder we can

play04:03

also see that a new input has been

play04:06

created when we create a user input

play04:09

we'll choose our input

play04:12

type and then we'll assign the input a

play04:15

variable

play04:18

name we can also configure other aspects

play04:22

like our label text and placeholder text

play04:24

in the configuration section

play04:28

below

play04:35

finally if you're subscribed to business

play04:36

tier you may use the logging feature to

play04:39

record the input provided by the

play04:42

user we'll leave this disabled for

play04:46

now once the user input is all

play04:49

configured we can add it into our

play04:50

collect input

play04:58

block

play05:01

next we'll want to give the AI explicit

play05:04

instructions to write a blog post about

play05:06

the topic provided to do this we'll add

play05:09

a send message

play05:12

block and enter our explicit

play05:22

instructions you'll notice that we're

play05:24

able to reference variables by using

play05:27

double curly braces and the variable

play05:31

name in this case we're referencing the

play05:35

topic variable that we created via our

play05:37

user

play05:47

input the send message block is able to

play05:49

send synthetic messages either from the

play05:52

user to the AI or from the AI to the

play05:57

user you may also also display the

play06:00

response directly to the user or you may

play06:03

assign it to a variable for later

play06:07

use let's say we want the AI to

play06:09

reference our own custom data we can do

play06:12

this by creating a new data source in

play06:14

the

play06:16

Navigator when we create a new data

play06:18

source we must upload at least one file

play06:20

to use as the data source in this case

play06:23

I'd like the AI to reference an article

play06:25

from masterclass on how to write

play06:27

effective blog posts

play06:30

this won't be used as explicit context

play06:32

for the AI but rather as a reference

play06:34

should we want to chat with the AI later

play06:36

about the content that is

play06:38

generated you may upload multiple files

play06:40

in the same data source if you'd like

play06:42

and it's good practice to give your data

play06:44

source a

play06:51

name when we create a data source in

play06:54

mind Studio we create a new Vector

play06:56

database for the AI to query let's

play06:59

quickly check to make sure our file

play07:00

uploaded correctly we can double click

play07:03

on the file itself and we'll be able to

play07:06

see a preview of the file in this case

play07:08

it's an HTML document extracted text the

play07:12

raw chunks and the raw vectors created

play07:15

for this Vector

play07:17

database if we look at the extracted

play07:19

text we'll notice that this is full of

play07:21

text and is coherent if this is not the

play07:23

case you may have uploaded a malformed

play07:27

file keep in mind that when you

play07:29

reference a data source the AI does not

play07:31

have the full source material to use as

play07:33

context in its responses rather it

play07:36

queries the database and uses the query

play07:38

result as context in some cases it may

play07:42

be advisable to include any explicit

play07:44

context you'd like the AI to know

play07:46

directly inside of your main

play07:52

prompt now that our data source is

play07:54

successfully configured let's hop back

play07:56

into our mainflow file and then into the

play07:59

message message rules

play08:00

tab here we can have the AI query our

play08:03

data source on each new message sent by

play08:05

the user by selecting our data source

play08:08

under message

play08:12

pre-processing we can also set our

play08:14

system introduction which is an

play08:16

introductory message that appears when

play08:18

the AI chat opens for the first time

play08:21

since we are collecting an input in this

play08:22

AI we don't need an introduction and can

play08:25

delete this line of

play08:28

text

play08:30

in the model settings tab we can select

play08:33

the foundational model that we'd like to

play08:35

use since I'm prioritizing fast

play08:38

responses I'm going to go with GPT 3.5

play08:42

turbo we can also adjust the temperature

play08:45

of the model which determines the

play08:47

predictability of the ai's

play08:51

responses and the max response size

play08:53

which controls the max length of an

play08:55

individual

play08:58

response now that we finished the

play09:00

initial configuration of our AI we can

play09:03

prepare it for publishing let's navigate

play09:05

to the root config

play09:07

file and then we can enter any metadata

play09:10

that we'd like to include we already

play09:12

have a

play09:14

name and we can add in a short

play09:24

description we can include our own icons

play09:26

in

play09:28

Media

play09:39

you also have the ability to configure

play09:40

your own landing page for your AI for

play09:43

the purposes of this demo I'm going to

play09:45

disable this page but feel free to fill

play09:48

it in with your own

play09:50

content inside of access and sharing

play09:53

we'll also be able to determine whether

play09:54

or not our AI is publicly available via

play09:57

the uaii Showcase

play10:00

and whether or not people can clone RI

play10:02

to create new remixes for their own use

play10:05

cases if you're a pro or business

play10:07

subscriber you'll also have access to

play10:10

features like enabling password

play10:12

protection removing the Mind Studio UI

play10:15

branding embedding your AI on thirdparty

play10:18

sites and charging money for access to

play10:21

your AI you can manage your subscription

play10:24

in the billing

play10:27

section now let's go ahead and preview

play10:30

our AI we can open up a Draft preview by

play10:33

tapping on the open button at the top

play10:35

right and clicking preview draft from

play10:38

here we can test out our Ai and see the

play10:41

information passed to the AI via the

play10:43

debugger on the right hand

play10:58

side

play11:00

now that we know our AI is working

play11:02

properly let's head back into mind

play11:04

studio and publish

play11:10

it from here we can choose a plan and if

play11:12

we're interested in accessing premium

play11:14

features we can choose to upgrade our AI

play11:17

to a pro or business plan for now I'm

play11:20

going to select the free

play11:26

plan from here we can easily use our AI

play11:29

and we can share it by copying the URL

play11:31

at the top or accessing the share

play11:42

menu once published we'll be able to see

play11:45

the AI inside of our my AIS page and

play11:48

when we click on the AI we'll be taken

play11:49

to a dashboard that shows us all the

play11:51

lifetime analytics for this AI as well

play11:54

as any logs that we may have

play11:57

collected

play12:01

if we want to make modifications to the

play12:03

AI at any time we can always tap on the

play12:06

edit button to get back inside of the

play12:08

Mind Studio

play12:10

editor let's go ahead and add some

play12:13

additional capabilities to our AI in

play12:16

this case I want to collect an email and

play12:18

then send that email to MailChimp as a

play12:20

new

play12:21

subscriber to do this we'll go into

play12:23

automations and then we'll need to

play12:26

collect the email so we'll create a new

play12:28

user

play12:40

input then inside of automations we'll

play12:43

add that email to our onboarding

play12:51

flow when you add an input to the

play12:53

onboarding block it acts as a global

play12:56

variable when it's added to a collect

play12:58

input put Block it's added as a runtime

play13:01

variable the difference is that when

play13:03

it's on the onboarding Block the

play13:05

variable stays constant the user will

play13:07

only need to fill out the onboarding

play13:09

part once versus a collect input which

play13:12

will run each time the AI is used in a

play13:14

new thread now that we're collecting the

play13:17

email let's go ahead and send that email

play13:19

over to

play13:21

MailChimp to do this we're going to use

play13:23

a function

play13:26

block functions allow us to run custom

play13:29

JavaScript code in our AI

play13:31

workflows to select the function we want

play13:34

to run we can browse the community

play13:36

functions

play13:39

available here's a function that allows

play13:41

us to collect emails for our mailchip

play13:43

mailing list I'm going to go ahead and

play13:45

import this

play13:48

function each function will have

play13:50

different configurations depending on

play13:52

the requirements for that function to

play13:55

operate I've gone ahead and filled out

play13:57

all of the configuration info on the

play13:59

right hand side I've entered my

play14:01

MailChimp API key the list I'd like to

play14:03

add the email to the data center ID and

play14:07

then the variable

play14:10

itself it's also important to note that

play14:13

these are custom JavaScript functions

play14:15

meaning that you can open the function

play14:17

up and edit the JavaScript code inside

play14:19

of

play14:20

them each function is packaged with its

play14:22

own custom JavaScript code configuration

play14:26

Json which affects the inputs on the

play14:29

right hand side when people configure it

play14:31

and you may include some test data if

play14:33

you're looking to test out your

play14:35

function you can also debug the function

play14:38

by pressing the play button and seeing

play14:40

the response from the

play14:48

console now that we have our functions

play14:50

set up let's go ahead and publish our AI

play14:55

again I'll also go ahead and open up my

play14:58

mail Channel

play15:00

account in my audience dashboard you'll

play15:02

be able to see all of the emails I've

play15:05

collected let's go ahead and enter a new

play15:13

email now let's use the

play15:23

AI at this point the function block has

play15:25

run successfully and we can see if we

play15:27

refresh our audio audience page the new

play15:30

audience member has been added to our

play15:32

audience

play15:39

list so now we have a blog post

play15:41

generator that collects an email uses

play15:44

that email and sends it off to MailChimp

play15:46

and then begins generating content for a

play15:48

user this tool is immediately useful on

play15:51

its own but we might want to embed this

play15:53

AI inside of our own website to do this

play15:55

is very simple the first thing you're

play15:57

going to do is go to the root config

play15:59

file and then you'll want to make sure

play16:02

that you have a pro or a business

play16:05

subscription

play16:06

selected this will unlock the embedding

play16:09

feature where you can enable API

play16:12

access this will give you an embed code

play16:15

that you can use inside of your

play16:17

site let me open up a new tab and Open

play16:20

up web

play16:23

flow here I have a very simple web flow

play16:26

page that I'm designing

play16:29

all I need to do is add a new

play16:33

element titled

play16:35

embed and add it to my

play16:40

body here it's going to ask you for the

play16:43

custom embed

play16:44

code this is the same code that's

play16:47

available on mine Studio after enabling

play16:49

API

play16:52

access let's copy this code and then in

play16:54

web flow we can paste the code

play16:57

in

play17:01

the script embed will only appear on the

play17:03

published or exported site so let's go

play17:05

ahead and publish the

play17:14

site you'll notice that when you open up

play17:16

the site for the first time an error

play17:18

will appear inside of the iframe window

play17:22

this is because we haven't authorized

play17:24

our domain

play17:25

yet we can easily authorize our domain

play17:28

by copying the

play17:29

URL and then inside of mine Studio paste

play17:32

it inside of authorized

play17:38

domains now when we refresh the page

play17:40

we'll see that our AI is now embedded in

play17:42

our site all of the same functions still

play17:45

apply so if we enter a new

play17:53

email and use the

play17:57

AI

play18:02

the AI still generates a

play18:04

response and the email is still being

play18:07

collected inside of

play18:19

MailChimp mind studio is a powerful

play18:22

platform that lets you build AIS at

play18:24

ludicrous speeds these AIS can be fully

play18:27

customized for your bespoke use case I

play18:30

hope you enjoyed this getting started

play18:32

video But realize that we're just

play18:33

scratching the surface here if you'd

play18:35

like to learn more please take a look at

play18:37

our YouTube channel for the latest

play18:39

tutorials and our documentation for the

play18:41

latest guides and feature updates thanks

play18:44

so much for watching and we'll see you

play18:46

next time

Rate This

5.0 / 5 (0 votes)

Связанные теги
AI DevelopmentApp CreationMind StudioCustomizationUser InteractionWorkflow DesignData IntegrationJavaScript FunctionsPublishing GuideEmbedding AI
Вам нужно краткое изложение на английском?