Skip to content

saulpw/ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GPT Discord bot

CLI Usage

./ai.py chat <msg>
    Send <msg> directly to GPT and print its response.

./ai.py embed <filenames...>
    Chunk and index sections in filenames delimited by '\\n\\n'.  save to embeddings.jsonl

./ai.py query <question>
    Find top documents that match <question> and send them to GPT along with <question>, and print its response.

Discord Usage

  • mention VisiData in its presence, or start a message with `!', and it will find 5 relevant embedded documents and send them via the OpenAI API to GPT, and reply with its response.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages