Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Releases: Sam4000der2/ChatGPT-API-Standalone-Script

ChatGPT.ps1 Version 1.1

28 Jan 21:47
3fdf3db

Choose a tag to compare

Correction of the length of the response token

"max_tokens" = (4000 - $prompt.Lenght)

ChatGPT.ps1.txt

ChatGPT.ps1 Version 1

27 Jan 19:52
88b3fd6

Choose a tag to compare

Functions:

  1. Entering the user question in a loop.

  2. Reading the user question from the file source.txt

  3. Check if the user question is not too long. Fine tuning still necessary.

  4. optional save the answer from ChatGPT in a text file (name contains timestamp).

  5. Copyright hints

ChatGPT.sh Version 0.1

27 Jan 20:04
88b3fd6

Choose a tag to compare

Simple shell script for communication with the API.

Function:

  1. Questions passed at the start of the script are passed to the API.

Script is started via the following command

sh ChatGPT.sh "Add your questions, tasks, requests here"