{$i18n.t('Knowledge')}
{$i18n.t('To add documents here, upload them to the "Documents" workspace first.')}
{#if knowledge.length > 0}
{#each knowledge as file, fileIdx}
{#if (file?.type ?? 'doc') === 'doc'} {:else if file.type === 'collection'} {/if}
{file?.title ?? `#${file.name}`}
{$i18n.t(file?.type ?? 'Document')}
{/each}
{/if}