Auto-Completing Click Commands

Click is a python library for creating command line applications in Python. The llm tool created by Simon uses click and it has a lot of subcommands. eg: $ llm keys set openai Enter key: ... $ llm models default gpt-4o I am building a wrapper around this CLI tool that let’s me use it in an interactive REPL. I wanted autocompletion to help me remind the available subcommands and their appropriate nested subcommands....

January 4, 2025 · 3 min

LLMs and Freewill

During the late 1900s (1997) I learned about this theoretical concept called artificial intelligence, in high school. I asked my cousin (a CS college grad) about it. He explained that AI is a research field that is trying emulate a human brain but with a computer program. I wondered if that would be a nuisance? For instance, while I’m studying I get distracted and decide to start watching TV (Freewill?). What if the computer did the same?...

January 5, 2024 · 2 min