This repository was archived by the owner on Jan 28, 2025. It is now read-only.
Releases: Sam4000der2/ChatGPT-API-Standalone-Script
Releases · Sam4000der2/ChatGPT-API-Standalone-Script
ChatGPT.ps1 Version 1.1
Correction of the length of the response token
"max_tokens" = (4000 - $prompt.Lenght)
ChatGPT.ps1 Version 1
Functions:
-
Entering the user question in a loop.
-
Reading the user question from the file source.txt
-
Check if the user question is not too long. Fine tuning still necessary.
-
optional save the answer from ChatGPT in a text file (name contains timestamp).
-
Copyright hints
ChatGPT.sh Version 0.1
Simple shell script for communication with the API.
Function:
- 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"