{editingItem ? $i18n.t('Edit Knowledge Connection') : $i18n.t('Add Knowledge Connection')}

{#if sourceForm.provider !== 'pgvector'}
{/if}
{#if sourceForm.provider === 'milvus'}
{/if}
{#if sourceForm.provider === 'pgvector'}
{/if}
{$i18n.t( 'External vectors must be generated with the same embedding model configured in Open WebUI.' )}

{$i18n.t('External Knowledge Sources')}
{$i18n.t('Experimental')}
{#each items as item} {@const connection = connectionForItem(item)}
{item.name} {' '} {item?.meta?.external?.provider ?? connection?.provider} {item?.meta?.external?.source?.name ? `ยท ${item.meta.external.source.name}` : ''}
{ toggleSource(item); }} />
{/each}
{#if loading}
{:else if items.length === 0}
{$i18n.t('No external knowledge sources configured.')}
{/if}
{$i18n.t( 'Create one read-only Knowledge source per external collection. Test must pass before the source is created.' )}