feat(prompts): implement new prompt
This commit is contained in:
parent
d79d854e2d
commit
5b3e8a3214
6 changed files with 175 additions and 62 deletions
|
|
@ -236,6 +236,7 @@ class MetaSearchAgent implements MetaSearchAgentType {
|
|||
RunnableMap.from({
|
||||
query: (input: BasicChainInput) => input.query,
|
||||
chat_history: (input: BasicChainInput) => input.chat_history,
|
||||
date: () => new Date().toISOString(),
|
||||
context: RunnableLambda.from(async (input: BasicChainInput) => {
|
||||
const processedHistory = formatChatHistoryAsString(
|
||||
input.chat_history,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue