ai-shell icon indicating copy to clipboard operation
ai-shell copied to clipboard

Piping ( | ) to ai

Open fire17 opened this issue 1 year ago • 2 comments

Hi there, I really like your project :) It is the one i use most often along side yai which i also like

Wanted to request a feature to allow data piping in and out of the ai please draw inspiration from openai_pipe 👈 there are really good examples showcased in the main Readme

Also, i think your best feature is the Revise option, but sadly, if i do a couple of revisions, i cant continue the conversation, and say stuff like "the previous version was better, but remember to...". pleassse add context of atleast the current run of revision (not even mentionion context from previous sessions) Thanks a lot and all the best!

fire17 avatar Jul 29 '23 14:07 fire17

I always thought pipes would be good on this project. Especially with tools like 'ffprobe' and 'ffmpeg' where describing the document's context can be quite laborious.

wkaisertexas avatar Jan 13 '24 19:01 wkaisertexas

I want the same thing. I hope I can do something like git diff | ai or git diff | ai "write a commit message".

Jiayou-Chao avatar Sep 11 '24 15:09 Jiayou-Chao