feat(agents): fix engine names
This commit is contained in:
parent
66c5fcb4fa
commit
a90e294c60
|
@ -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',
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
|
@ -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 = [];
|
||||||
|
|
Loading…
Reference in New Issue