8000 GitHub - lukaszKielar/lokai: TUI AI assistant
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lukaszKielar/lokai

Repository files navigation

LokAI TUI

LokAI is a local AI assistant in your terminal.

Demo

Demo

Running app

Before we get started make sure you have following tools installed:

To run LokAI type:

cargo run  # for more configuration flags see CLI section

Persistence

Downloaded LLM models, logs, database and conversations are saved into ~/.lokai directory.

CLI

LokAI allow you to set some options through CLI.

  • database-url - defines location of SQLite database. Example values: "sqlite::memory:" (in-memory), "sqlite://db.slite3" (persistent), "db.sqlite3" (persitent)
  • enable-transcription - transcribes voice into prompt

To use one, many or all options type:

cargo run -- --database-url sqlite::memory: --enable-transcription

To print help type:

cargo run -- --help

Shortcuts

Shortcut Action App Context
Ctrl + c Exit Global
Ctrl + n Add new conversation Global
Tab Next focus Global
Shift + Tab Previous focus Global
Delete Delete selected conversation Conversation sidebar
/ Switch between conversations Conversation sidebar
/ Scroll up/down Chat/Prompt
Esc Cancel action Popups

About

TUI AI assistant

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  
0