►
A
A
There
is
no
difference
in
the
way
the
blob
looks
like
at
the
moment,
but
if
you,
for
example,
select
the
code,
there
will
be
an
icon
shown,
the
new
icon,
which
has
the
the
label.
What
does
the
select
code
mean?
This
is
the
entry
door
to
this
functionality,
as
you
can
see,
I
had
to
move
the
bli
mic
and,
and
the
link
icon
a
bit
to
to
have
the
room
for
this
question
mark.
So
what
happens
when
you
click
this?
A
We
click
and
the
new
block
is
shown
here
with
the
copy
of
the
code
selected
and
you
have.
You
could
have
noticed
right
now
why
we
copy
the
selected
code
here,
because
selection
is
not
persistent.
This
block
is
persistent.
It's
located
here
so
that
when
you
get
the
explanation
for
some
code
snippet,
you
could
scroll
up
or
down
the
file
in
order
to
get
more
information
about.
A
Probably
some
probably
the
explanation
you've
got
is
going
to
give
you
some
some
ideas,
or
some
hints
at
where
to
look
for
for
the
solution
of
your
problem,
if
you're
trying
to
solve
one
so,
but
this
was
pretty
simple
example:
let's
try
this
function
when
we
select
a
new
block,
the
new
snippet
click,
the
question
mark.
The
code
gets
updated
right
away
and
then
we
fetch
the
explanation
of
this
code
again.
The
selection
is
not
persistent
here.
So
if
we
click
anywhere
outside
this
selection,
the
selection
is
gone.
A
But
this
block
is
here,
so
you
can
navigate
the
page
in
order
to
get
more
context
for
for
this
snippet
you're
trying
to
analyze
in
order
to
get
rid
of
this
block,
you
just
click
the
cross
and
that's
it
the
important
things
to
keep
in
mind.
We
show
this
question
mark.
Excuse
me
we'll
show
question
mark
only
when
the
selection
starts
and
ends
within
the
blob,
so,
for
example,
this
selection
will
yield
the
question
mark.
A
A
The
solution
also
supports
errors.
So
let
me
demonstrate
you
want
error
now:
I'm
running
I'm,
connecting
to
open
AI
through
the
front
and
front-end
code,
I'm,
storing
my
key
in
the
dot
anth
but
and
use
dot
end
package
to
fetch
it,
but
in
production
of
course,
it's
not
going
to
be
the
same.
A
So
now,
when
we
try
to
fetch
an
explanation
for
some
code
snippet,
let's
say
for
this:
what
we
get
is
actually
the
API
error
saying
that
the
key
is
incorrect,
which
is
very
correct.
My
key
is
incorrect.
So
that's
that's
it
it's
the
MVC.
There
is
a
lot
of
things
we
can
improve,
but
I
the
current
state
of
it
requires
some
test
coverage.
A
Switching
to
the
existing
back-end
experiment.
Experiment,
experimental
connector
to
the
openai,
API
and
technically
just
start
using
this.
The
plan
is
to
to
publish
this
behind
the
feature
flag
so
that
we
would
be
able
to
shut
it
down
if
things
go,
not
as
expected.
One
thing
to
note,
though,
is
that
the
way
it
is
implemented
at
the
moment
is
very
Universal
in
terms
of
it
being
a
component
which
is
shared
components
which
can
be
implemented
anywhere
in
the
product
technically
in
the
view
part
of
the
product.
A
So
where
else
can
we
implement
this?
We
can
do
this
for
Snippets,
for
example.
So
let's
reload
the
Snippets
in
the
background
I
have
updated
my
key
for
it
to
be
to
be
valid
now:
I'm,
restarting
the
webpack
server,
so
it
takes
some
time.
But
here
we
go
here.
We
come
yes,
so
the
snippet
simple
textual
snippet,
with
pretty
much
the
same
code
as
we
saw
in
the
blob,
but
same
thing.
You
select
the
code,
you
click
the
button.
A
You
get
the
explanation
of
that
code.
Very
Universal
works
exactly
the
same
way,
maybe
a
bit
slower
because
there
were
more
tokens
to
generate
here
so
stays
on
the
screen.
The
same
way
and
is
persistent
if
you
remove
the
selection,
so
that's
pretty
much
it.
Thank
you.