Model
{ openSettings(); }} >
Select a model
{#each models as model}
{model.name}
{/each}
Set as default
{#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 && suggestions !== 'false'}
{ submitPrompt(`Tell me a random fun fact about the Roman Empire`); }} >
Tell me a fun fact
about the Roman Empire
{ submitPrompt( `Show me a code snippet of a website's sticky header in CSS and JavaScript.` ); }} >
Show me a code snippet
of a website's sticky header
{ submitPrompt( `Help me study vocabulary: write a sentence for me to fill in the blank, and I'll try to pick the correct option.` ); }} >
Help me study
vocabulary for a college entrance exam
{ submitPrompt( `What are 5 creative things I could do with my kids' art? I don't want to throw them away, but it's also so much clutter.` ); }} >
Give me ideas
for what to do with my kids' art
{/if} {#if messages.length != 0 && messages.at(-1).role == 'assistant' && messages.at(-1).done == true}
Regenerate
{/if}
{ submitPrompt(prompt); }} >
{ if (e.keyCode == 13 && !e.shiftKey) { e.preventDefault(); } if (prompt !== '' && e.keyCode == 13 && !e.shiftKey) { submitPrompt(prompt); } }} 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.