mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 11:27:46 +01:00
Merge pull request #10864 from kurtdami/perplexity_integration
feat: add perplexity integration to web search
This commit is contained in:
@@ -29,7 +29,8 @@
|
||||
'tavily',
|
||||
'jina',
|
||||
'bing',
|
||||
'exa'
|
||||
'exa',
|
||||
'perplexity'
|
||||
];
|
||||
|
||||
let youtubeLanguage = 'en';
|
||||
@@ -361,6 +362,17 @@
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
{:else if webConfig.search.engine === 'perplexity'}
|
||||
<div>
|
||||
<div class=" self-center text-xs font-medium mb-1">
|
||||
{$i18n.t('Perplexity API Key')}
|
||||
</div>
|
||||
|
||||
<SensitiveInput
|
||||
placeholder={$i18n.t('Enter Perplexity API Key')}
|
||||
bind:value={webConfig.search.perplexity_api_key}
|
||||
/>
|
||||
</div>
|
||||
{:else if webConfig.search.engine === 'bing'}
|
||||
<div class="mb-2.5 flex w-full flex-col">
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user