T2x – a CLI tool for AI-first text operations
shruggingface.com
T2x – a CLI tool for AI-first text operations
1–10 of 16 posts
Re: T2x – a CLI tool for AI-first text operations
#2Re: T2x – a CLI tool for AI-first text operations
#3heh, I wrote my own dotfile commandline tooling to do most of this already, I wonder if others have done the same
Re: T2x – a CLI tool for AI-first text operations
#4Re: T2x – a CLI tool for AI-first text operations
#5All I want to do is talk to my computer, like:
"Sort these files" or whatever. Straight away. No noise.
And it should have a history of what was done already, so it knows what I'm talking about.
If people are concerned about safety, it could just be a 'mode' or an app that isn't a terminal but looks like a terminal.
Re: T2x – a CLI tool for AI-first text operations
#6that would be sweet
Re: T2x – a CLI tool for AI-first text operations
#7The only difference is that you provide subcommands, while aichat requires users to create various roles.
t2x 'Write a ...' => aichat 'Write a ...'
t2x ask file.md 'What is...' => aichat -f file.md 'What is...'
t2x summary /path/to/file => aichat -r summary -f /path/to/file
t2x summary "This is a..." => aichat -r summary "This is a..."
t2x orc /path/to/image.png => aichat -r orc -f /path/to/image.png
> Note, In AIChat, `-r/--role` specifies the role to use, `-f/--file` indicates the file or URL input.
Re: T2x – a CLI tool for AI-first text operations
#8I wish someone would do something like this but without the preamble like "t2x ask 'bla bla'" All I want to do is talk to my computer, like: "Sort these files" or whatever. Straight away. No noise. And it should have a history of what was done already, so it knows what I'm talking about. If people are concerned about safety, it could just be a 'mode' or an app that isn't a terminal but looks like a terminal.
There's aichat, which you can use in REPL mode to do exactly that: https://github.com/sigoden/aichat
Shameless plug: I mostly use my own work: https://github.com/codespin-ai/codespin
But it requires you to pipe: `ls | codespin go sort`. Maybe I should add what you're suggesting.
Re: T2x – a CLI tool for AI-first text operations
#9I wish someone would do something like this but without the preamble like "t2x ask 'bla bla'" All I want to do is talk to my computer, like: "Sort these files" or whatever. Straight away. No noise. And it should have a history of what was done already, so it knows what I'm talking about. If people are concerned about safety, it could just be a 'mode' or an app that isn't a terminal but looks like a terminal.
I work with computers and do data wrangling on a daily basis. What am I missing?
Re: T2x – a CLI tool for AI-first text operations
#10AIChat ( https://github.com/sigoden/aichat ) nearly fulfills all your requirements. The only difference is that you provide subcommands, while aichat requires users to create various roles. t2x 'Write a ...' => aichat 'Write a ...' t2x ask file.md 'What is...' => aichat -f file.md 'What is...' t2x summary /path/to/file => aichat -r summary -f /path/to/file t2x summary "This is a..." => aichat -r summary "This is a...…