feat(agents): fix engine names

This commit is contained in:
ItzCrazyKns 2024-04-28 18:34:56 +05:30
parent 66c5fcb4fa
commit a90e294c60
No known key found for this signature in database
GPG Key ID: 8162927C7CCE3065
2 changed files with 3 additions and 4 deletions

View File

@ -115,8 +115,8 @@ const createBasicAcademicSearchRetrieverChain = (llm: BaseChatModel) => {
language: 'en', language: 'en',
engines: [ engines: [
'arxiv', 'arxiv',
'google_scholar', 'google scholar',
'internet_archive_scholar', 'internetarchivescholar',
'pubmed', 'pubmed',
], ],
}); });

View File

@ -53,8 +53,7 @@ const createImageSearchChain = (llm: BaseChatModel) => {
strParser, strParser,
RunnableLambda.from(async (input: string) => { RunnableLambda.from(async (input: string) => {
const res = await searchSearxng(input, { const res = await searchSearxng(input, {
categories: ['images'], engines: ['bing images', 'google images'],
engines: ['bing_images', 'google_images'],
}); });
const images = []; const images = [];