Skip to content

simple chat with AI crafted with svelte and TypeScript

Notifications You must be signed in to change notification settings

sawcrz/quickspan-chat

Repository files navigation

Spanner, your basic chat assistant

image

Spanner is a simple chat assistant app written in svelte who will help you in non complex cases (like facts, objective questions and so on), using the LLAMA2 AI model (GPT 3.5) to process your questions.

  • It's 100% responsive and accesibility friendship.
  • supports markdown
  • you can search your messages
  • you can delete all messages

Chat Settings

By the moment, the chat only has 3 options:

  • Preserve Messages: spanner uses localstorage to preserve the chat messages, you can disable this depending if you need to maintain a context or not.

  • Preferred Name: for a bit customizable behavior, the app lets to you decide wich are your name instead of "You"

  • Reduced Motion: the app has some builtin-framework animations, if you want, you can disable it.

Installation

  1. Clone the repo and get inside it:
git clone https://github.com/SlowArmoredWarrior/quickspan-chat.git
  1. Use the package manager of your preference to install the dependencies (npm / yarn / pnpm):
<package-manager> install
  1. Once installed, you must modify the .env.example file, first, rename it to .env and fill the variables according the comments:
nano ./.env.example

NOTE: once modified, nano will request you the name of the file, save it as .env

  1. Finnaly, run the developement server:
<package-manager> run dev