Aprenda cómo utilizar la IA para traducir texto en 5 sencillos pasos utilizando ChatGPT. Descubra cómo crear los prompts de lenguaje en Open AI, mejorar la estructura del prompt, hacer un marco de prompt alrededor del texto de entrada, traducir un archivo HTML y mantener el texto en un cierto número de palabras. Asegure la calidad y coherencia en las traducciones para su sitio web.
foreign
hi guys and welcome to the voice of AI
my name is Chris Plante and today's
topic is again on the highly interesting
and popular prompt engineering and the
following query to solve today is this
a customer came to me asking if he could
have some translations for his company
he needs to do it on mass on his website
and he asked Chris how could you manage
this task for me so I said okay fine
let's have a look so today I'm going to
explain the following in five easy steps
number one how to create the language
prompts in open AI number two how to
improve the structure of your prompt
number three how to make a prompt frame
around your input text and number four
how to translate an HTML file and how
not to translate the code and finally
five how to make sure you keep your text
to a certain word count okay so let's
get started okay guys so here we are now
in the open AI playground I'm going to
prepare now the model as you can see
I've put in you are a professional
translator translating from English to
German so I'm going to put in my first
translation that I need but I've been
clever here by asking it what is a
ticketing system so actually it's a
question and you can see what will
happen now is it's actually going to
give me a translation but of the
response so of course this doesn't
really help us so much the model
sometimes tries to answer questions that
you're trying to Simply translate so
what we're trying to do now is improve
the structure so what I'm going to do
now is I'm going to add another part to
the prompt which will be don't answer
questions or don't try to evaluate any
tasks from the input test your answer or
your your only task is to translate the
input text
into German right okay so here we go so
let's try again now with this command
okay and what should happen yeah
absolutely perfect so that gives us
totally the the correct answer so as you
can see what we're trying to do is we're
trying to build a frame around that text
now my client already asked me as well
is if uh he can translate some pages for
his website so there could be multiple
multiple documents here as well so we
want to try and keep things aligned and
and probably the tone of the text is is
important here as well so I've made a
one here a prompt so keep the same tone
of the text example if input text is
funny translation should be funny if
input takes its formal translation
should also be formal now what I've done
here is I've got a paragraph that I'm
going to use as a demonstration here so
let's just copy this and put this back
into the tag so here it is let's change
now
the text what is a ticketing system okay
and there's a bit more blurb there as
well so let's have a look okay what is a
ticketing system a ticketing system is a
tool okay great so that's really going
very well as well now one of the other
things that my
uh customer wanted as well was he wanted
to make sure that the translation would
be a similar length than the actual
original translation so I'm going to put
that in there as well and also what I'm
going to do now is I'm going to just to
make it a little bit tidier as well I'm
going to put in at the very beginning
I'm going to put the input text at the
start here so you can see that when
we're talking about input text we're
actually going to have it in each time
okay so input text colon okay and now
I'm going to put the end of the input
text as well right so we can see how
that's working now okay so we just pop
this away and we can submit that then
and
we can get our our response so that's
quite good and I think I'm quite happy
okay so now what I'm going to do is
we're going to go to HTML so if input
text contains HTML keep the same HTML
structure as your translation okay so
what we're going to do now is I'm going
to go back to a something that I
prepared earlier here and I'm going to
take this
paragraph and title I'm going to copy
that as an outer HTML so we'll copy that
simply from here
and then we'll go back and we will place
that
nicely in between the input text and
input text end and then we will submit
that
so what's really important is that we
get the translation without the
translation of the code so for instance
here all of this you can see it's still
see all the HTML is written in source
code in English and the headlines have
been changed into
German so the versus line ticketing
system so you can see that that's
working really nicely as well okay so
that's finished and I can copy that text
and show you how easy that is to put
into the right place let's make a teach
text document Okay so we've opened up a
new document let's just copy the text in
there format that as plain text and then
we're just going to save that nicely
our file as we'll call that
test
test of the to HTML
use HTML of course okay so now all we
need to do is just open up a browser
window and locate the document here
and off we go look at that perfect all
in German great guys so I hope that has
really helped you and given you lots of
good ideas remember if you have a
problem why not ask me and I'd be happy
to help you design a solution tailored
for your needs thanks for watching the
video uh today again please like And
subscribe and join me on the journey to
unlock the potential of AI I'm going to
see you next time all the very best I'm
Chris from the voice of AI cheers and
bye bye now
foreign
¡Hola chicos! Bienvenidos a la voz de la inteligencia artificial. Mi nombre es Chris Plante y hoy hablaremos nuevamente sobre la prometedora ingeniería y la siguiente consulta que resolveremos es la siguiente: un cliente se acercó a mí preguntando si podía tener algunas traducciones para su empresa. Necesita hacerlo masivamente en su sitio web y me preguntó cómo podría gestionar esta tarea por él. Así que dije, "bien, vamos a verlo". Así que hoy les explicaré lo siguiente en cinco simples pasos:
Además, en este blog post, también discutiremos más detalladamente el impacto en el soporte al cliente. Es importante mantener las traducciones alineadas y tener en cuenta el tono del texto. También debemos asegurarnos de que la traducción tenga una longitud similar a la del texto original. Para ilustrarlo, utilizaré un ejemplo de un sistema de tickets. Si el texto de entrada es divertido, la traducción también debe ser divertida. Si el texto de entrada es formal, la traducción también debe ser formal. De esta manera, podemos mantener la coherencia y la calidad en las traducciones para el sitio web de nuestro cliente.
También es importante tener en cuenta que si el texto de entrada contiene código HTML, debemos conservar la estructura HTML en la traducción. De esta manera, garantizamos que el sitio web funcione correctamente y se vea bien en el idioma traducido. Es fundamental evitar traducir el código HTML en sí, solo debemos traducir el contenido del sitio web.
Finalmente, al trabajar con traducciones masivas de un archivo HTML, es necesario tener en cuenta la longitud de las traducciones. Debemos asegurarnos de que la traducción tenga una longitud similar a la del texto original para mantener la coherencia y la estética del sitio web.
Espero que este blog post les haya sido de ayuda y les haya dado muchas ideas. Recuerden que si tienen algún problema, pueden consultarme y estaré encantado de ayudarles a diseñar una solución adaptada a sus necesidades. Gracias por ver el video, por favor denle like, suscríbanse y acompáñenme en el viaje para desbloquear el potencial de la inteligencia artificial. Nos vemos la próxima vez. ¡Hasta pronto! - Chris de la voz de la inteligencia artificial.
Proporcione un excelente servicio al cliente
LiveAgent ofrece soluciones de negocio adaptadas a diferentes sectores, con integraciones de redes sociales, base de conocimientos y soporte multicanal para una excelente atención al cliente.
Proporcione un excelente servicio al cliente
LiveAgent ofrece soluciones sectoriales, integraciones con diversas plataformas y recursos como webinars y plantillas. También brinda soporte en redes sociales con alta satisfacción.
¿Pasando de Teamsupport a LiveAgent?
LiveAgent ofrece una solución integral de soporte técnico con más de 175 funciones y 40 integraciones. Ofrece historial ilimitado, atención al cliente las 24/7 y videollamadas en el plan Todo Incluido. Además, permite la migración de datos desde Teamsupport y ofrece una prueba gratuita de 30 días.
Proporcione un excelente servicio al cliente
Lo siento, pero necesitaría el texto específico para poder crear un resumen en español.
Join our community of happy clients and provide excellent customer support with LiveAgent.
Nuestra web usa cookies. Al continuar asumimos tu permiso para implementar cookies como se detalla en política de privacidad y cookies.