Model
Select a model
{#each models.models as model}
{model.name}
{/each}
{#if messages.length == 0}
Get up and running with large language models, locally.
Run Llama 2, Code Llama, and other models.
Customize and create your own.
{:else} {#each messages as message, messageIdx}
{#if message.role != 'user' && message.content == ''}
{:else}
{@html marked.parse(message.content)}
{/if}
{#if message.role != 'user' && message.done}
{ copyToClipboard(message.content); }} >
{/if}
{/each} {/if}
{#if messages.length != 0 && messages.at(-1).role == 'assistant' && messages.at(-1).done == true}
Regenerate
{/if}
{ if (e.keyCode == 13 && !e.shiftKey) { e.preventDefault(); } if (prompt !== '' && e.keyCode == 13 && !e.shiftKey) { submitPrompt(); } }} rows="1" on:input={() => { textareaElement.style.height = ''; textareaElement.style.height = Math.min(textareaElement.scrollHeight, 200) + 'px'; }} />
{#if messages.length == 0 || messages.at(-1).done == true}
{:else}
...
{/if}
LLMs may produce inaccurate information about people, places, or facts.