Skip to content

rudrodip/askitty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

askitty

Description

A simple CLI tool to interact with generative models like llms and image generation apis.

LLM api - groq Image generation api - stable diffusion

Usage:

askitty [FLAG] [MESSAGE]

Flags:

-h, --help                          Display help message
-v, --version                       Display version
-m, --message                       Message to send to the model
-r, --repl                          Start a repl
-n, --new                           Start a new session
-s, --sessions                      View all sessions
-s <session_id>                     View a specific session
-d <session_id>                     Delete a specific session
-c, --clear                         Clear all sessions
-p, --prompt                        Set global system prompt
-p <session_id>                     Set a specific session prompt
-ps, --prompt-show                  Show global system prompt
-pc, --prompt-clear                 Clear global system prompt
-pd, --prompt-delete <session_id>   Delete a specific session prompt              
-i, --imagine                       Generate image from text

Todo

  • groq api
  • optional flags
  • markdown preview
  • image generation api
  • error handling
  • streaming output
  • chat history
  • new chat session command
  • view chat history command
  • global system prompt
  • individual system prompt
  • set configuration command
  • view configuration command
  • pretty print
  • kv store
  • config store
  • image path
  • context strategy [sliding window, fixed window, summarize context, etc]
  • function calling from scratch
  • utils - writing LICENSE, SEO image resizing, etc
  • tests
  • documentation