feat(agents): fix unresloved types

This commit is contained in:
ItzCrazyKns
2024-08-25 15:08:30 +05:30
parent 6b8f7dc32c
commit c521b032a7
6 changed files with 6 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ import eventEmitter from 'events';
import type { BaseChatModel } from '@langchain/core/language_models/chat_models';
import type { Embeddings } from '@langchain/core/embeddings';
import logger from '../utils/logger';
import { IterableReadableStream } from '@langchain/core/utils/stream';
const writingAssistantPrompt = `
You are Perplexica, an AI model who is expert at searching the web and answering user's queries. You are currently set on focus mode 'Writing Assistant', this means you will be helping the user write a response to a given query.