Simatwa / python-tgpt

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

Add an option to provide own system prompts in a Optimizer #32

Closed piotr25691 closed 6 months ago

piotr25691 commented 6 months ago

I’m going from g4f and deem this to be a better alternative, but unfortunately I couldn’t find an easy option to add my own system prompt. Could this be added?

Simatwa commented 6 months ago

It's already implemented. Use the flag --intro shortcut -i in CLI. For the API, make use of the parameter intro while instantiating the provider class to achieve the same.