Skip to content

Commit

Permalink
Update how_to_routing_custom_function.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kostasx authored Jul 27, 2024
1 parent 18fef4a commit d76cd5a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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 }) => {
Expand Down

0 comments on commit d76cd5a

Please sign in to comment.