Slide 30
Slide 30 text
const chatPrompt = ChatPromptTemplate.fromMessages([
[
"system",
"You are a helpful assistant that translates {input_language} to {output_language}.",
],
["human", "{text}"],
["human", "{text}"],
["human", "{text}"],
["human", "{text}"],
["human", "{text}"],
["human", "{text}"],
["human", "{text}"],
["human", “{text}"],
…
["human", “{text}"],
]);