feat(prompts): implement new prompt

This commit is contained in:
ItzCrazyKns
2024-12-05 20:19:22 +05:30
parent d79d854e2d
commit 5b3e8a3214
6 changed files with 175 additions and 62 deletions

View File

@ -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,