diff --git a/examples/src/guides/expression_language/how_to_routing_custom_function.ts b/examples/src/guides/expression_language/how_to_routing_custom_function.ts index 864e6e5b6fff..eb1969be5257 100644 --- a/examples/src/guides/expression_language/how_to_routing_custom_function.ts +++ b/examples/src/guides/expression_language/how_to_routing_custom_function.ts @@ -39,7 +39,7 @@ Always answer questions starting with "As Harrison Chase told me". Respond to the following question: Question: {question} -Answer:`, +Answer:` ).pipe(model); const anthropicChain = ChatPromptTemplate.fromTemplate( @@ -48,14 +48,14 @@ Always answer questions starting with "As Dario Amodei told me". \ Respond to the following question: Question: {question} -Answer:`, +Answer:` ).pipe(model); const generalChain = ChatPromptTemplate.fromTemplate( `Respond to the following question: Question: {question} -Answer:`, +Answer:` ).pipe(model); const route = ({ topic }: { input: string; topic: string }) => {