Lær hvordan du bruger kunstig intelligens til at oversætte tekst i 5 nemme trin ved hjælp af ChatGPT. Opret sprogprompter i Open AI, forbedr promptens struktur, skab en frame omkring teksten, oversæt HTML-filer, og bevar den rigtige ordtælling. Få en god forståelse af at håndtere oversættelsen af din hjemmeside.
Dette video præsenterer de seneste marketingtrends og hvordan virksomheder kan udnytte dem til at øge deres synlighed og salg. Der gives eksempler på succesfulde kampagner og diskuteres vigtigheden af at skabe autentisk og engagerende indhold.
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
Velkommen til endnu en spændende vejledning i prompt engineering. I dag vil vi tale om, hvordan du kan håndtere oversættelsen af din virksomheds hjemmeside. Vi vil give dig fem nemme trin til at komme i gang.
Trin 1: Opret sprogprompter i Open AI
Først og fremmest skal du oprette sprogprompter i Open AI. Dette vil tillade dig at oversætte indholdet på din hjemmeside fra dansk til andre sprog.
Trin 2: Forbedr strukturen i din prompt
For at få de bedste resultater skal du forbedre strukturen i din prompt. Tilføj en sætning, der præciserer, at modellen kun skal oversætte teksten og ikke forsøge at besvare spørgsmål eller evaluere opgaver.
Trin 3: Skab en frame omkring din tekst
Det kan være nyttigt at opretholde den samme tone i din oversættelse. Hvis din inputtekst er morsom, bør oversættelsen også være morsom. Skab en frame, der sikrer, at oversættelsen passer til den oprindelige tekst.
Trin 4: Oversæt HTML-filer
Hvis din hjemmeside indeholder HTML-kode, så sørg for at bevare den samme struktur i oversættelsen. Du kan nemt oversætte HTML-filer ved at bruge Open AI.
Trin 5: Bevar den rigtige ordtælling
Hvis det er vigtigt for dig at beholde den samme ordtælling i oversættelsen, kan du med Open AI nemt sikre, at oversættelsen har en lignende længde som den oprindelige tekst.
Vi håber, at denne vejledning har givet dig en god forståelse af, hvordan du kan håndtere oversættelsen af din hjemmeside. Husk, at hvis du har spørgsmål, er du altid velkommen til at spørge os. Vi er her for at hjælpe dig med at designe en løsning, der passer til dine behov. Tilmeld dig vores nyhedsbrev for at modtage flere tips og tricks til brug af AI.
LiveAgent Webinar 3: Live Chat & Chat-invitationer
LiveAgent-webinarer giver dybdegående forklaringer af live chat-funktioner, herunder chatinvitationer, widget-tilpasning og chatundersøgelser. De tilbyder trin-for-trin vejledning til korrekt opsætning af live chat.
Sådan opsætter du livechat i Adobe Business Catalyst
Adobe Business Catalyst tilbyder en omfattende webløsning, der integrerer forskellige hjemmesidefunktioner som e-handel, webformularer og e-mail-marketingkampagner. Integrering af livechat kan forbedre kundeinvolvering og øge tilfredshedsrater. Få mere at vide om LiveAgent's funktioner, integrationer og demo.
Sådan Bruger Du ChatGPT Til Kundeservice
ChatGPT kan forbedre kundeservice ved at generere nøjagtige svar, opretholde en konsistent tone og muliggøre centraliseret support på tværs af agenter.
Sådan opretter du tidsregler i LiveAgent
LiveAgent tilbyder konkurrencedygtige priser, branche- og virksomhedsløsninger samt pålidelig support. Tidsregler kan automatisere opgaver og forbedre billethåndteringsprocessen. Opret en gratis konto for at lære mere.
Join our community of happy clients and provide excellent customer support with LiveAgent.
Our website uses cookies. By continuing we assume your permission to deploy cookies as detailed in our privatliv og cookies politik.