feat: implement Exa search engine integration

This commit is contained in:
M.Abdulrahman Alnaseer
2025-02-04 21:13:05 +03:00
parent 70116e7251
commit 2bb6b49f11
5 changed files with 108 additions and 1 deletions

View File

@@ -25,7 +25,8 @@
'duckduckgo',
'tavily',
'jina',
'bing'
'bing',
'exa'
];
let youtubeLanguage = 'en';
@@ -261,6 +262,17 @@
bind:value={webConfig.search.jina_api_key}
/>
</div>
{:else if webConfig.search.engine === 'exa'}
<div>
<div class=" self-center text-xs font-medium mb-1">
{$i18n.t('Exa API Key')}
</div>
<SensitiveInput
placeholder={$i18n.t('Enter Exa API Key')}
bind:value={webConfig.search.exa_api_key}
/>
</div>
{:else if webConfig.search.engine === 'bing'}
<div>
<div class=" self-center text-xs font-medium mb-1">