Model
Select a model
{#each models.models as model}
{model.name}
{/each}
{#if Object.keys(chatHistory).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 Object.keys(chatHistory) as messageIdx}
{@html marked.parse(chatHistory[messageIdx].content)}
{#if chatHistory[messageIdx].role != 'user' && chatHistory[messageIdx].done}
{ copyToClipboard(chatHistory[messageIdx].content); }} >
{/if}
{/each} {/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'; }} />
LLM models may produce inaccurate information about people, places, or facts.