Closed sameedzahoor closed 8 months ago
Awesome suggestions folk. This gonna have a big positive impact. They'll be implemented anytime from now.
The only bit that has not been implemented is the autonaming bit. The rest has been implemented in szl.
Bumping this issue because it has been open for 14 days with no activity. Closing automatically in 14 days unless it becomes active again.
Closing due to inactivity.
I think python-tgpt is going to be big. Great work so far. Here are a few suggestions for improvements:
-s
mode should have conversation flag disabled by default. While the optimiser for the-s
mode was good enough for ChatGPT, LLama does a funny thing by responding with 'Sure! Here's the thing you need ... blah blah blah' before the actual answer. I found the following addition to the optimiser useful for the-s
mode : “Respond in only one line. You are allowed to use semi-colon to combine commands to respond in a single line. Do not include any line starting with 'Sure' in your response.”tgpt new chat_name
which creates a file namedchat_name
in the cache and will set this file to the current active chat.tgpt new
is called without the argumentchat_name
, a temporary chat file will be created in the cache. After the first prompt (it could the be the second or the third prompt as well, tell me what you think would be a good choice) a request will be sent to the model asking it to name the chat. Something like this : “Suggest a filename for the chat so far. Make sure there are no spaces in the filename.” The model's response will have to be post processed (remove the 'Sure! Here is the thing ... blah blah blah') to get thechat_name
. Thischat_name
will now become the current active chat.tgpt select chat_name
to select a chat from the existing chats to continue the same. One could use it in conjunction with a utility such asfzf
to get a menu to select chats from. (One can literally usels .cache/tgpt/ | fzf
and select the file from the menu). We could in theory sort the items in the cache by file modification times to have the latest chats at the top. Sincefzf
supports search it would make searching chats very easy if the cache gets too large.