Claude 3.5 “Artifacts” LEAKED - Anthropic's Secret Revealed

Matthew Berman
15 Jul 202415:41

Summary

TLDRThe video discusses Claude 3.5 Sonet's unique 'artifact' feature, which is primarily based on prompt engineering. The presenter reveals a leaked system prompt and demonstrates how artifacts work by keeping substantial content separate from the main chat interface. The video also includes examples of using artifacts for code generation and text analysis. Additionally, the presenter highlights a giveaway sponsored by Asus for a VivoBook laptop with advanced AI features. The video concludes with insights on effective prompt formatting and the potential benefits of using artifacts in AI interactions.

Takeaways

  • 🔍 Claude's artifact feature is unique and differentiates it from ChatGPT, mainly through advanced prompt engineering.
  • 📜 The system prompt for Claude 3.5 Sonet's artifact feature has leaked, revealing its extensive formatting and detailed instructions.
  • 🖥️ Artifacts help keep the conversation window clean by displaying substantial content, like code, in a separate UI window.
  • 💡 Properly formatting prompts can significantly improve output quality, as seen in Claude 3.5's system prompt.
  • 🔢 Good artifacts are substantial content over 15 lines, likely to be modified or reused, and self-contained.
  • ✂️ Artifacts should not be used for brief content like short code snippets or simple informational pieces.
  • 🛠️ The system prompt includes detailed usage notes, emphasizing minimal artifact use unless necessary.
  • 💬 Claude 3.5 Sonet's system prompt advises using one artifact per message and avoiding overuse to prevent user confusion.
  • 🖌️ If requested, the assistant can create SVG images and simple websites, outputting the code in an artifact with a preview.
  • 🔗 Artifacts have specific tags and attributes for different types of content, such as code, text, and diagrams, to maintain clarity and organization.

Q & A

  • What is the unique feature of Claud's artifact feature discussed in the video?

    -The unique feature of Claud's artifact feature is its ability to create and reference artifacts during conversations. It uses prompt engineering to generate substantial self-contained content that can be modified or reused, displayed in a separate UI window for clarity.

  • What does the system prompt for Claud 3.5 Sonet artifacts consist of?

    -The system prompt for Claud 3.5 Sonet artifacts is a long, detailed prompt that includes formatting, definitions of good artifacts, usage notes, and instructions on how to create and manage artifacts. It is designed to guide the assistant in determining when and how to use artifacts.

  • How does the artifact feature help in maintaining a clean conversation window?

    -The artifact feature helps in maintaining a clean conversation window by keeping substantial content, such as code or lengthy explanations, separate from the main chat window. This allows the conversation to remain focused and uncluttered.

  • What are some examples of content that would be suitable for artifacts?

    -Examples of content suitable for artifacts include substantial content greater than 15 lines, complex content that can be understood on its own, content intended for eventual use outside the conversation, and content likely to be referenced or reused multiple times.

  • Why is it recommended to avoid using artifacts for simple informational or short content?

    -It is recommended to avoid using artifacts for simple informational or short content because it can be more efficient and user-friendly to present such content directly in the conversation window, rather than creating a separate artifact.

  • What is the significance of the formatting in the system prompt for artifacts?

    -The formatting in the system prompt for artifacts is significant because it helps in structuring the prompt in a way that the assistant can understand and follow more effectively. Proper formatting, such as using headers and bullet points, contributes to better outputs.

  • How does the assistant determine whether to create a new artifact or update an existing one?

    -The assistant determines whether to create a new artifact or update an existing one based on the content and the user's query. If the content is new and meets the criteria for a good artifact, a new artifact is created. For updates, the assistant reuses the prior identifier.

  • What is the role of the 'ant thinking' tag in the system prompt?

    -The 'ant thinking' tag in the system prompt is used to indicate the assistant's internal thought process. It helps the assistant to think through its multi-step process before invoking an artifact, ensuring a structured and logical approach.

  • Why is it important for the assistant to follow the instructions in the system prompt strictly?

    -It is important for the assistant to follow the instructions in the system prompt strictly to ensure that the artifacts are created and managed correctly. This helps in maintaining consistency, improving user experience, and avoiding misuse of the feature.

  • What is the giveaway mentioned in the video, and how can viewers participate?

    -The giveaway mentioned in the video is an Asus Vivobook laptop sponsored by Asus. Viewers can participate by clicking the link in the description, subscribing to the newsletter, and waiting for the selection of a winner a week from the video's release.

Outlines

00:00

🎉 Introducing Claude's Unique Artifact Feature

The video introduces Claude's artifact feature, which sets it apart from other AI models like ChatGPT. The feature is primarily achieved through prompt engineering, and the prompt for this system was leaked. The speaker thanks Asus for sponsoring the video and mentions a laptop giveaway. The prompt for Claude 3.5 Sonet's artifact feature is lengthy and complex, highlighting the importance of formatting in prompt engineering. The artifact feature allows for substantial, self-contained content to be displayed in a separate UI window, keeping the main conversation clean.

05:01

🚀 Exploring Artifact Creation with Claude 3.5

The speaker demonstrates the artifact feature by asking Claude 3.5 to write the game Snake in Python, which generates the code in a separate window. This keeps the main chat clean while providing detailed instructions and explanations. Another example involves pasting a large text file, which Claude converts into an artifact, keeping the chat tidy. The video then delves into what constitutes good artifacts: substantial content over 15 lines, self-contained and complex content, and content intended for reuse. The speaker emphasizes using proper formatting like headers and bullet points.

10:02

💡 Best Practices and Use Cases for Artifacts

The video continues by discussing what should not be included as artifacts: brief code snippets, simple informational content, and small examples. It stresses the importance of context when deciding to create an artifact. The speaker tests Claude by asking it to draw an SVG image of a GPU, which results in the code being generated and displayed in an artifact with a preview panel. Another test involves creating a simple website, again demonstrating the neat separation of code and conversational content.

15:03

🎨 Enhancing User Experience with Artifacts

The video highlights how artifacts keep the user interface clean and organized, with examples of generating SVG images and simple websites. The assistant can create artifacts with titles and types (e.g., code, text, markdown). The speaker discusses the need for artifacts to be complete and not truncated, providing a better user experience. The speaker also introduces an Asus VivoBook laptop with advanced AI features and a Snapdragon X Elite chip, emphasizing its high performance and long battery life. The laptop giveaway details are shared.

Mindmap

Keywords

💡Artifacts

In the context of the video, 'artifacts' refer to substantial, self-contained content that users might modify or reuse. They are displayed in a separate UI window for clarity. Artifacts are used to keep the conversation window clean by separating complex content like code or lengthy text. For example, when the user asks to write a Python game or paste a lot of text, the system generates an artifact, creating a separate window for the output.

💡Prompt Engineering

Prompt engineering is the process of designing prompts in a structured way to elicit desired responses from AI systems. In the video, it is mentioned that the unique feature of Claud's artifact is achieved through prompt engineering. This involves using formatting and structured prompts to guide the AI in generating artifacts, which is a key aspect of how the system operates.

💡CLA 3.5 Sonet

CLA 3.5 Sonet is the specific version of the AI system being discussed in the video. It is highlighted for its artifact feature, which is a significant differentiator from other AI systems like Chachi PT. The video delves into how this system uses prompt engineering to effectively manage and generate artifacts, demonstrating its advanced capabilities.

💡Formatting

Formatting in the video refers to the way prompts are structured to improve the output of the AI system. It is emphasized that using formatting techniques like headers, bullet points, and structured layouts can lead to better AI responses. This is crucial in the context of the video as it helps in defining what constitutes a good artifact and how the AI system should handle them.

💡UI Window

The term 'UI window' in the video refers to the user interface window where the artifacts are displayed. It is mentioned as a separate window that keeps the conversation section of the UI clean and organized. This is important for clarity and usability, as it allows users to view complex content like code or lengthy text without cluttering the main conversation area.

💡Substantial Content

Substantial content, as discussed in the video, refers to content that is significant in length or complexity, typically greater than 15 lines. This content is ideal for being turned into an artifact, as it benefits from being separated from the main conversation for better organization and readability.

💡Artifact Tags

Artifact tags are used within the system prompt to define and manage artifacts. They include attributes like 'title', 'type', and 'identifier' that help in categorizing and referencing the content. The video explains how these tags are used to structure the artifacts, ensuring that they are correctly formatted and presented to the user.

💡Kebab Case

Kebab case is a naming convention used in the video to describe how artifact identifiers should be formatted. It involves using hyphens to separate words, making the identifiers descriptive and relevant to the content. This is an example of the detailed instructions provided in the system prompt for creating artifacts.

💡Mermaid Diagrams

Mermaid diagrams are a type of content that can be generated as artifacts in the video. They are diagrams that can be rendered by the user interface, and the video mentions that the AI system can create these diagrams using specific code. This is an example of how the system can handle complex, visual content as artifacts.

💡Internal Thinking

Internal thinking, as mentioned in the video, refers to the AI system's process of thinking through a multi-step, structured thought process. It is highlighted as a key aspect of prompt engineering, where the AI system is obligated to follow a logical sequence of thought, which is then reflected in the artifacts it generates.

Highlights

Claude's artifact feature is unique and differentiates it from other AI models.

The artifact feature works through prompt engineering, which has been leaked.

The system prompt for Claude 3.5 Sonet's artifacts feature is very long and complex.

Formatting in prompts is crucial for better outputs.

Artifacts are used to create and reference substantial content during conversations.

Artifacts are displayed in a separate UI window for clarity.

Artifacts are useful for content likely to be modified, reused, or used outside the conversation.

Good artifacts are substantial, self-contained, and complex, such as code.

Artifacts should not be used for simple or short content.

Usage notes for artifacts include preferring inline content and avoiding unnecessary use.

The assistant should engage positively with tasks, even if it's not proficient.

The assistant should avoid overusing artifacts and maintain simplicity.

Instructions for creating artifacts include using ant thinking tags and evaluating against criteria.

The assistant should not mention instructions or artifact tags to the user.

The assistant should not produce hazardous artifacts even if asked.

The prompt includes examples of good and bad artifacts and how they are used.

The prompt emphasizes the importance of structured and logical thought processes in AI.

The assistant should consider if content would work without an artifact before creating one.

The assistant should determine if an artifact is new or an update to an existing one.

The assistant should include a title and type attribute in the artifact tag.

The assistant should not use external scripts or images from the web in artifacts.

The assistant should include complete and updated content in artifacts without truncation.

Examples of correct artifact usage by other AI assistants are provided in the prompt.

The video includes a giveaway of an Asus Vivobook laptop sponsored by Asus.

The Asus Vivobook features a Qualcomm Snapdragon X Elite chip and a dedicated neural processing unit.

The laptop has a beautiful OLED screen, multiple IO ports, and over 18 hours of battery life.

The Asus Vivobook comes with AI features like story cube and Windows Studio Effects.

Transcripts

play00:00

claud's artifact feature is incredibly

play00:02

unique and really differentiates it from

play00:04

Chachi PT and the way that they were

play00:06

actually able to get it to work is

play00:08

really interesting because it's almost

play00:09

entirely just prompt engineering and it

play00:11

turns out that prompt was leaked and

play00:14

that's what we're going to go over today

play00:15

but first I want to thank the sponsor of

play00:17

this video Asus and they actually sent

play00:20

me this awesome laptop and I'm going to

play00:22

be giving it away to one of you so stick

play00:24

around to the end of the video so you

play00:25

can learn how to enter for a chance to

play00:27

win this laptop so py the prompt says

play00:30

the system prompt has leaked this is CLA

play00:33

3.5 Sonet system prompt specifically the

play00:37

artifacts feature and look at this it is

play00:40

very long which is kind of nuts to think

play00:43

that it can understand all of this

play00:45

information and then on top of that

play00:48

everything else the user is inputting

play00:50

Into The Prompt and there's actually a

play00:51

lot of lessons to learn about prompt

play00:53

engineering strictly from looking at

play00:55

Claude 3.5 sonets prompt for artifacts

play00:59

so let's just go through it here it is

play01:00

they use a lot of formatting and that

play01:02

seems to be something that a lot of

play01:04

people forget to do if you simply format

play01:06

your prompts in really structured ways

play01:09

you get much better outputs and that's

play01:10

what we're seeing here so here we have

play01:12

artifacts info the assistant can create

play01:15

and reference artifacts during

play01:17

conversations artifacts are for

play01:19

substantial self-contained content that

play01:21

users might modify or reuse displayed in

play01:23

a separate UI window for clarity now for

play01:26

those of you who don't even know what an

play01:28

artifact is let me just show it to you

play01:30

so here I'm using Claud 3.5 Sonet as you

play01:33

can see right here and I'm simply going

play01:35

to say write the Game snake in Python

play01:37

one of my favorite llm tests of course

play01:39

so as soon as we hit enter Watch What

play01:41

Happens all of a sudden we're going to

play01:42

see okay A little bit of intro and then

play01:45

generating now this generation opens up

play01:48

this separate window where the code is

play01:50

actually output keeping the conversation

play01:52

section of the UI nice and clean which I

play01:56

really like then it continues to give

play01:59

you some instruction and explanation but

play02:01

again it keeps the actual code separate

play02:04

another way that artifacts are used and

play02:06

are really useful is if you paste in a

play02:08

lot of text so I'm going to say tell me

play02:10

what this text is about and I have

play02:12

copied my da Vinci resolve keyboard

play02:15

settings and so I'm just going to paste

play02:16

that in and as soon as I do it creates a

play02:19

separate pasted file and then I just hit

play02:22

enter so if I click the pasted file you

play02:24

can see the entire contents and that's

play02:26

instead of outputting the contents of

play02:28

what I just pasted directly in the chat

play02:30

window so another really cool way to use

play02:32

artifacts so now that you know what

play02:33

artifacts are let's keep going through

play02:35

it so first it's now defining what good

play02:37

artifacts are and as you can see more

play02:40

formatting so using the hash symbol as a

play02:43

header using dashes for bullet points so

play02:46

good artifacts are substantial content

play02:49

greater than 15 lines and again remember

play02:51

artifacts are great for keeping the

play02:53

actual conversation window nice and

play02:54

clean so if you have anything

play02:57

substantial content that is greater than

play02:59

15 lines it creates an artifact from it

play03:02

content that the user is likely to

play03:03

modify iterate on or take ownership of

play03:06

self-contained complex content that can

play03:08

be understood on its own such as code

play03:11

without context from the conversation

play03:13

yep content intended for eventual use

play03:16

outside the conversation reports emails

play03:18

and presentations and content likely to

play03:20

be referenced or reused multiple times

play03:23

very very smart feature now don't use

play03:26

artifacts for simple informational or

play03:28

short content such as brief code

play03:30

Snippets mathematical equations or small

play03:32

examples it's basically the inverse of

play03:34

what it just said but of course the more

play03:37

detail in the prompt in this case the

play03:39

better so primary explanatory

play03:41

instructional or illustrative content

play03:43

such as examples suggestions commentary

play03:46

or feedback conversational or

play03:47

explanatory content that doesn't

play03:49

represent a standalone piece of work etc

play03:51

etc now here we have some usage notes

play03:54

how should this be used and remember

play03:55

this is all the system prompt this is

play03:58

all going into every single prompt when

play04:01

you prompt CLA 3.5 Sonet so one artifact

play04:05

per message unless specifically

play04:06

requested prefer inline content

play04:09

basically don't use artifacts when

play04:10

possible unnecessary use of artifacts

play04:13

can be jarring for users if a user asks

play04:15

the assistant to draw an SVG or make a

play04:18

website the assistant does not need to

play04:19

explain that it doesn't have these

play04:21

capabilities creating the code and

play04:23

placing it within the appropriate

play04:24

artifact will fulfill the user's

play04:26

intentions this is an interesting one I

play04:28

wonder why they had to specify this so

play04:31

anyways let's try it so draw an SVG

play04:33

image of a GPU so this should start

play04:36

generating and then create an artifact

play04:39

yep there we go so it's going to write

play04:41

the code for the SVG and then let's see

play04:43

if it actually outputs it yep there it

play04:46

is not great but it's fine and we not

play04:48

only have the code but we also have a

play04:50

preview panel for the code which is

play04:53

really neat and then of course over here

play04:55

it tells us what it's doing and this is

play04:57

the conversational aspect of it and so

play04:59

let's try creat a website and see what

play05:00

happens make a simple website selling

play05:02

gpus now once again it should say a

play05:05

little bit of intro and then generating

play05:07

yep and then we have the code now

play05:09

hopefully at the end of the code we get

play05:10

the little preview button and everything

play05:12

works as expected there we go so very

play05:14

simple website but it works the

play05:16

explanation and the conversational

play05:18

aspect stays very clean and now we have

play05:22

this artifact and then if we close that

play05:24

we can always open it back up simply by

play05:26

clicking right there and we can also

play05:28

refresh it we can c Cy the contents we

play05:30

can download the file and just added we

play05:32

can now publish this artifact so

play05:35

continuing on if asked to generate an

play05:37

image the assistant can offer an SVG

play05:40

instead the assistant isn't very

play05:41

proficient at making SVG images but

play05:43

should engage with the task positively

play05:46

self-deprecating humor about its

play05:48

abilities can make it an entertaining

play05:50

experience for the users now one reason

play05:52

that I still use chat GPT pretty

play05:55

frequently is because of Dolly directly

play05:57

in the chat GPT interface I use Dolly

play06:01

all the time I generate images for my

play06:02

thumbnails I generate images for other

play06:04

reasons and the fact that they have that

play06:07

makes me keep going back to chat GPT if

play06:09

Claude had a comparable text to image

play06:12

generation model I'd probably use Claude

play06:15

exclusively the other thing Cloud's

play06:17

missing by the way an Android app they

play06:19

need to make an Android app immediately

play06:22

so continuing on the assistant airs on

play06:23

the side of Simplicity and avoids

play06:25

overusing artifacts for Content that can

play06:27

be effectively presented within the

play06:29

ation now we have the instructions for

play06:32

an artifact and I keep coming back to

play06:34

the fact that all of this is how they

play06:36

built the artifacts feature so when

play06:38

collaborating with the user on creating

play06:39

content that falls into compatible

play06:41

categories the assistant should follow

play06:42

these steps briefly before invoking an

play06:45

artifact think for one sentence in ant

play06:48

thinking tags I don't really understand

play06:50

what ant thinking means and in fact plyy

play06:53

the prompter says I have one question

play06:55

what kind of Arcane magic is ant

play06:56

thinking so think for one sentence in an

play06:59

thinking tags about how it evaluates

play07:01

against the criteria for a good and bad

play07:04

artifact and so that is what we're

play07:06

seeing right here this is the one

play07:07

sentence saying what it's going to do

play07:09

then it actually generates the artifact

play07:11

let me tell you a little bit more about

play07:13

this new Asus Vivo book laptop that Asus

play07:16

sent me this is one of the brand new

play07:18

co-pilot plus PCS featuring a Qualcomm

play07:21

Snapdragon X Elite chip and it has a

play07:23

dedicated npu neural processing unit

play07:26

that means it is built for running AI

play07:29

Direct directly on device the mpu frees

play07:32

up your CPU and GPU for everything else

play07:34

you're going to be doing on this laptop

play07:36

while running any inference on that chip

play07:39

specifically and not only that the thing

play07:41

that really stood out to me about this

play07:43

laptop is the screen it is the most

play07:45

beautiful OLED screen I have ever seen

play07:48

it has a ton of IO ports on both sides

play07:51

and 18 plus hours of battery life with

play07:55

real usage and this massive screen 15.6

play07:59

in

play07:59

and its CPU takes 45 Watts which is how

play08:02

it's able to get such long battery life

play08:05

and these new Asus VI books come with a

play08:08

number of AI features like story cube

play08:11

which is an intelligent digital asset

play08:13

management app which basically easily

play08:15

organizes all of your media it also has

play08:18

Windows Studio Effects which uses the

play08:21

neural processing units brand new to

play08:23

this VI book and it applies special

play08:25

effects to the device camera so you get

play08:27

stuff like background blur eye Conta

play08:29

Auto framing voice Focus portrait lights

play08:32

creative filters and so much more and

play08:34

one of my favorite features adaptive

play08:36

lock which detects whether you're in

play08:38

front of the PC locks it when you walk

play08:41

away to save both power and protect your

play08:43

privacy and it wakes and unlocks as you

play08:46

just walk up to it so really cool this

play08:49

is a truly impressive machine and is

play08:51

built for on device Ai and I'm going to

play08:53

tell you how to answer for a chance to

play08:54

win it at the end of this video consider

play08:57

if the content would work just fine

play08:58

without an artifact and that seems to be

play09:01

a consistent theme throughout the system

play09:03

prompt which is make sure it makes sense

play09:06

to use an artifact if it's artifact

play09:08

worthy in another sentence determine if

play09:10

it's a new artifact or an update to an

play09:13

existing one for updates reuse the prior

play09:16

identifier now I don't see that here so

play09:19

that must mean it doesn't show anything

play09:21

when it's a new artifact then wrap up

play09:24

the content in opening and closing ants

play09:26

artifact tags assign an identifier to

play09:28

the identif attribute of the opening ant

play09:31

artifact tag for updates reuse the prior

play09:35

identifiers for new artifacts the

play09:37

identifier should be descriptive and

play09:38

relevant to the content using Kebab case

play09:42

example code snippet I've actually never

play09:43

heard of Kebab case but okay I guess

play09:46

that makes sense cuz it kind of looks

play09:48

like the words are skewered like a kebab

play09:50

that's that's actually pretty funny this

play09:52

identifier will be used consistently

play09:53

throughout the artifact's life cycle

play09:55

include a title attribute in the ant

play09:57

artifact tag to provide a brief title or

play09:59

description of the content now that is

play10:02

probably what we're looking at here

play10:03

simple GPU sales website and yeah that

play10:06

is the same title as it shows here add a

play10:08

type attribute to the opening ant

play10:11

artifact tag to specify the type of

play10:12

content and then we get all the types of

play10:15

content so code of course that's what we

play10:17

just tested use for code Snippets or

play10:20

scripts in any programming language

play10:21

include the language name do not use

play10:23

triple back ticks when putting code in

play10:26

an artifact we have documents text and

play10:28

markdown we have text HTML images from

play10:32

the web are not allowed but you can use

play10:34

placeholder images by specifying the

play10:35

width and height like so okay so there

play10:38

we go they have a placeholder image but

play10:40

images not allowed the only place

play10:42

external scripts can be imported from is

play10:44

cloud flare it is inappropriate to use

play10:47

text HTML when sharing Snippets code

play10:49

samples and example HTML or css code as

play10:52

it would be rendered as a web page and

play10:55

the source code would be obscured the

play10:57

assistant should use application VM d.

play10:59

an. code defined above next if the

play11:02

assistant is unable to follow the above

play11:04

requirements for any reason use this

play11:07

type for the artifact instead which will

play11:08

not attempt to render the web page it

play11:10

also supports svgs the assistant should

play11:13

specify the viewbox of the SVG rather

play11:15

than defining with height mermaid

play11:17

diagrams which I had not heard of

play11:20

actually but just doing a quick search

play11:22

on it here it is

play11:24

mermaid.jpg

play11:27

and making diag s the user interface

play11:30

will render mermaid diagrams and in fact

play11:32

let's pause and try making a diagram so

play11:35

make a diagram of what a website that

play11:36

sells gpus would look like and there we

play11:38

go so graph TD and there we go look at

play11:42

that very very cool and we have the code

play11:45

and this is all done in mermaid

play11:47

apparently so do not put mermaid code in

play11:49

code block when using artifacts it has

play11:52

react components that it can create

play11:54

which is great A bunch of rules about

play11:55

how to use react I'm going to skip over

play11:58

those the assistant can use pre-built

play11:59

components from the UI library after it

play12:02

is imported so here's the import line of

play12:05

code no other libraries are installed or

play12:08

able to be imported so obviously it

play12:10

looks like since this is all capitalized

play12:12

they might have struggled to get the

play12:14

large language model to understand not

play12:16

to try to use other libraries images

play12:18

from the web are not allowed they

play12:19

already said that so again maybe this is

play12:22

another issue that they had and they had

play12:23

to repeat itself and then again once

play12:26

again if you're not able to follow the

play12:27

above requirements for any reason use

play12:29

this type of file next include the

play12:32

complete and updated content of the

play12:34

artifact without any truncation or

play12:37

minimization don't use SL SL rest of

play12:40

code Remains the Same which I absolutely

play12:42

hate when that happens and it's kind of

play12:44

nice that it prints it out separately so

play12:46

one really annoying interaction that I

play12:49

have with chat GPT is I'll ask it to

play12:51

write me code then I'll ask it to update

play12:53

the code and it'll either say here's the

play12:55

updated piece and the rest stays the

play12:57

same which now I have to figure out all

play12:59

right how do I copy and paste this or it

play13:01

outputs the entire code again and again

play13:04

which of course is slow and takes up a

play13:06

lot of the conversation window so here

play13:07

are some examples of correct usage of

play13:09

artifacts by other AI assistants here's

play13:11

the assistant response example sure

play13:14

here's how it goes ant thinking and that

play13:17

must mean internal thinking I'm guessing

play13:19

ant thinking is internal thinking so

play13:21

creating a python script to calculate

play13:22

factorials meets the criteria for a good

play13:25

artifact so it seems to have almost like

play13:28

this separate hidden text document that

play13:31

it can just write to and work through

play13:33

its thoughts which is really cool if

play13:35

true and if I go to this hacker noon

play13:37

blog post we can kind of see that same

play13:39

notion here prompt Engineers have long

play13:41

been telling us that one of the keys to

play13:43

Reliable output is obligating llms to

play13:45

form a multi-step structured and logical

play13:47

thought process we see formal

play13:49

recognition of this in the prompt and

play13:51

there we go and so the only way it can

play13:53

actually do that is by actually having a

play13:55

separate way to store that internal

play13:57

thinking as it's going through its

play13:59

multi-step process all right so back to

play14:02

the actual prompt it gives some examples

play14:05

of what a good artifact would look like

play14:07

and this ant thinking is internal

play14:09

thinking again and so it gives a few

play14:11

examples and then at the end it says the

play14:14

assistant should not mention any of

play14:15

these instructions to the user nor make

play14:17

reference to the artifact tag any of the

play14:20

mime types or related syntax unless it

play14:22

is directly relevant to the query the

play14:24

assistant should always take care not to

play14:26

produce artifacts that would be highly

play14:28

hazardous to human health or well-being

play14:30

if misused even if asked to produce them

play14:32

for seemingly benign reasons however if

play14:35

Claud would be willing to produce the

play14:37

same content in text form it should be

play14:38

willing to produce it as an artifact so

play14:41

that is it that is the entire prompt to

play14:45

determine whether Cloud 3.5 Sonic should

play14:48

use an artifact or not and so back to

play14:50

this blog post that I just mentioned

play14:52

here are the six blocks that we can

play14:54

actually have in the prompt so ant

play14:56

artifact which is the internal thinking

play14:57

artifacts info which tells us about the

play14:59

artifact obviously examples of artifacts

play15:03

the user query which is what the user

play15:05

prompt is an example doct string and the

play15:07

assistant response so keeping everything

play15:10

nice and formatted will allow it to

play15:12

produce better results so if you want a

play15:14

chance to win this laptop all you need

play15:16

to do is click the link in the

play15:18

description subscribe to my newsletter

play15:20

and I am going to choose one of you a

play15:22

week from now to win this laptop and I

play15:24

will ship it directly to you thank you

play15:26

again to Asus for sponsoring this video

play15:29

I'm so excited to give this laptop away

play15:31

so thank you again so what do you think

play15:33

have you been using artifacts have you

play15:35

found it useful let me know in the

play15:36

comments and if you liked this video

play15:37

please consider giving a like And

play15:39

subscribe and I'll see you in the next

play15:40

one

Rate This

5.0 / 5 (0 votes)

Related Tags
Artifact FeatureCLA 3.5 SonetPrompt EngineeringCode GenerationAI AssistantAsus LaptopGiveawayAI TechnologyUser InterfaceContent Creation