Skip to content

Releases: maxmekiska/gpt-cli

feat: CLI subcommands and flags implemented

Choose a tag to compare

@maxmekiska maxmekiska released this 15 Nov 01:15
  1. gpt-cli chat
    • This will launch gpt-cli in chat mode. Your GPT assistant will keep track of your conversation.
Options:
  -m, --max-tokens <MAX_TOKENS>    The maximum number of tokens the response should have. [default: 300]
  -g, --gpt-model <GPT_MODEL>      The GPT model to use. [default: gpt-3.5-turbo]
  -t, --temperature <TEMPERATURE>  The temperature for sampling. [default: 0.2]
  -l, --logging                    Enable logging.
  -h, --help                       Print help
  • commands within chat:
    • exit: will terminate the conversation
    • undo: will remove the last request and answer from the chat history..
    • clear: clears the whole chat history. The conversation will start from scratch.
  1. gpt-cli one-shot
    • This will allow to perform a one prompt interaction. This mode expects a set --prompt flag.
    Options:
  -p, --prompt <PROMPT>            The prompt for the model.
  -m, --max-tokens <MAX_TOKENS>    The maximum number of tokens the response should have. [default: 300]
  -g, --gpt-model <GPT_MODEL>      The GPT model to use. [default: gpt-3.5-turbo]
  -t, --temperature <TEMPERATURE>  The temperature for sampling. [default: 0.2]
  -l, --logging                    Enable logging.
  -h, --help                       Print help

feat: added spinner animation

Choose a tag to compare

@maxmekiska maxmekiska released this 07 Nov 01:35
  • added spinner animation when waiting for API response

Initial Release

Choose a tag to compare

@maxmekiska maxmekiska released this 04 Nov 18:29
  • gpt command line program
  • supports the following commands:
    1. exit
      • will terminate the conversation
    2. clear
      • clears the whole chat history. The conversation will start from scratch
    3. undo
      • will remove the last request and answer from the chat history
    4. log
      • will activate logging. Each request will print the current chat history
    5. deactivate log
      • will deactivate logging