Assistants
{#if isHuggingChat}
beta
{/if}
Popular assistants made by the community
All models
{#each data.models.filter((model) => !model.unlisted) as model}
{model.name}
{/each}
Create New assistant
{#if assistantsCreator && !createdByMe}
{assistantsCreator}'s Assistants
{#if isHuggingChat}
View {assistantsCreator} on HF
{/if} {:else}
Community
{#if data.user?.username}
{data.user.username}
{/if} {/if}
filterOnName(e.currentTarget.value)} bind:this={filterInputEl} maxlength="150" type="search" />
{#each data.assistants as assistant (assistant._id)} {@const hasRag = assistant?.rag?.allowAllDomains || !!assistant?.rag?.allowedDomains?.length || !!assistant?.rag?.allowedLinks?.length}
{ if (data.settings.assistants.includes(assistant._id.toString())) { settings.instantSet({ activeModel: assistant._id.toString() }); goto(`${base}` || "/"); } else { goto(`${base}/assistant/${assistant._id}`); } }} > {#if assistant.userCount && assistant.userCount > 1}
{formatUserCount(assistant.userCount)}
{/if} {#if hasRag}
{/if} {#if assistant.avatar}
{:else}
{assistant.name[0]}
{/if}
{assistant.name}
{assistant.description}
{#if assistant.createdByName}
Created by
{assistant.createdByName}
{/if}
{:else} No assistants found {/each}