Skip to content

Commit

Permalink
Fix: Corrected typos (langchain-ai#2793)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdahlborg authored Oct 4, 2023
1 parent cdbc942 commit d148277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs_skeleton/docs/get_started/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ PromptTemplates can also be used to produce a list of messages. In this case, th
```typescript
import { ChatPromptTemplate } from "langchain/prompts";

const template = "You are a helpful assistant that translates {input_language} to {output_language}.";
const template = "You are a helpful assistant that translates {input_language} into {output_language}.";
const humanTemplate = "{text}";

const chatPrompt = ChatPromptTemplate.fromMessages([
Expand All @@ -154,7 +154,7 @@ const formattedChatPrompt = await chatPrompt.formatMessages({
/*
[
SystemMessage {
content: 'You are a helpful assistant that translates English to French.'
content: 'You are a helpful assistant that translates English into French.'
},
HumanMessage { content: 'I love programming.' }
]
Expand Down

0 comments on commit d148277

Please sign in to comment.