From f53e1a2b9dc81c89a66a368758cfd1ec7df4c0f9 Mon Sep 17 00:00:00 2001 From: David Miguel Lozano Date: Sun, 6 Aug 2023 12:03:23 +0200 Subject: [PATCH] docs(prompts): Fix typo in MessagePlaceholder API docs (#90) --- .../langchain/lib/src/model_io/prompts/chat_prompt.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/langchain/lib/src/model_io/prompts/chat_prompt.dart b/packages/langchain/lib/src/model_io/prompts/chat_prompt.dart index d6f05b48..eb2c879c 100644 --- a/packages/langchain/lib/src/model_io/prompts/chat_prompt.dart +++ b/packages/langchain/lib/src/model_io/prompts/chat_prompt.dart @@ -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} @@ -696,7 +696,7 @@ MessagePlaceholder{ /// SystemChatMessagePromptTemplate.fromTemplate( /// 'You are a helpful AI assistant', /// ), -/// MessagesPlaceholder(variableName: '{history'), +/// MessagesPlaceholder(variableName: '{history}'), /// HumanChatMessagePromptTemplate.fromTemplate('{input}'), /// ]); /// ```