Skip to content

Commit

Permalink
docs(prompts): Fix typo in MessagePlaceholder API docs (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmigloz authored Aug 6, 2023
1 parent 19182ca commit f53e1a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/langchain/lib/src/model_io/prompts/chat_prompt.dart
Original file line number Diff line number Diff line change
Expand Up @@ -636,8 +636,8 @@ CustomChatMessagePromptTemplate{
/// SystemChatMessagePromptTemplate.fromTemplate(
/// 'You are a helpful AI assistant',
/// ),
/// MessagesPlaceholder(variableName: '{history'),
/// MessagePlaceholder(variableName: '{input'),
/// MessagesPlaceholder(variableName: '{history}'),
/// MessagePlaceholder(variableName: '{input}'),
/// ]);
/// ```
/// {@endtemplate}
Expand Down Expand Up @@ -696,7 +696,7 @@ MessagePlaceholder{
/// SystemChatMessagePromptTemplate.fromTemplate(
/// 'You are a helpful AI assistant',
/// ),
/// MessagesPlaceholder(variableName: '{history'),
/// MessagesPlaceholder(variableName: '{history}'),
/// HumanChatMessagePromptTemplate.fromTemplate('{input}'),
/// ]);
/// ```
Expand Down

0 comments on commit f53e1a2

Please sign in to comment.