Simatwa / python-tgpt

AI Chat in Terminal + Package + REST-API
https://python-tgpt.onrender.com
MIT License
102 stars 15 forks source link

More customisation for chat file intros #37

Closed sameedzahoor closed 4 months ago

sameedzahoor commented 6 months ago

Can there be a flag --remove-intro-from-chat which will not save the intro (or system prompt) in the .txt chat history file? That makes the chats more readable from the users perspective. We could write something like: pytgpt generate --intro="$intro" --remove-intro-from-chat "Prompt" which would USE the intro together with the chat history but just won't write the intro to the chat history file. To continue the chat one would then have to use the --intro flag each time. This has a lot of use cases if one wants dynamic intro's, we could just pass a variable $intro at different times when calling in an LLM on the same chat.

Simatwa commented 6 months ago

Okay. This will be limited to newly created chats.

github-actions[bot] commented 6 months ago

Bumping this issue because it has been open for 14 days with no activity. Closing automatically in 14 days unless it becomes active again.

github-actions[bot] commented 5 months ago

Closing due to inactivity.

sameedzahoor commented 5 months ago

Let's keep this issue fresh to stop it from closing again.

github-actions[bot] commented 5 months ago

Bumping this issue because it has been open for 14 days with no activity. Closing automatically in 14 days unless it becomes active again.

github-actions[bot] commented 4 months ago

Closing due to inactivity.