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',
engines: [
'arxiv',
'google_scholar',
'internet_archive_scholar',
'google scholar',
'internetarchivescholar',
'pubmed',
],
});

View File

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