3 ms·
If there were a way for me to type a question and get just the command line back by searching on Google, yeah, I'd like that too. But that's not how Google wor
by jedberg 2y ago
If there were a way for me to type a question and get just the command line back by searching on Google, yeah, I'd like that too. But that's not how Google works. ChatGPT can give me exactly what I want.
- Xelynega 2y agoThat's also not how chatgpt works... And if it were, what's stopping the same filters to be added to google to convert the LLM output(or the google search results) into just the command to execute?
- jedberg 2y agoThat's exactly how it works, as you can see from the demo video in the post. Because you can tell it to output like that. And sure, Google could add that, but it doesn't have that today.
- Xelynega 2y agoThat's still not how chatgpt works. That's how the plugin developed for iTerm2 works, but the actual result from chatgpt needs to be filtered by iTerm2 to get to the result in the demonstration. What's stopping the same filtering from being used on a google search result instead of a response from an LLM API?
- jedberg 2y agoNo, that's not how the plugin works. It sends context to ChatGPT telling it to return a single command that is copy/pasteable. The plugin does no filtering of the results. You can literally read the code for yourself: https://gitlab.com/gnachman/iterm2/-/blob/master/sources/iTermPreferences.m#L203 https://gitlab.com/gnachman/iterm2/-/blob/master/sources/iTe...