Yui-GPT CLI is a command-line interface tool that uses AI throught the oobabooga/text-generation-webui api to generate text.
- Clone or Download the Repo
- Install Python (v3.10 recommended)
- Install oobabooga/text-generation-webui and enable API flag
- Run
pdm install
from your terminal inside the installed folder. - Make sure that
server_info.json
"server"
points to the IP of your Text Generation Web UI. - Type
python ./main
orpython3 ./main
to start the program/
Simply enter text after Enter a prompt:
to ask the AI a question.
Addionally you can use:
- Type '!quit' to exit the program.
- Type '!clear' to clear the chat history.
- Type '!history' to print the chat history.
- Type '!load
<chat number>
' to load a chat. - Type '!retry' to retry the last prompt.
- Type '!file
<file name>
<question>
' to load a file and ask a question about it. - Type '!delete
<chat number>
to delete a chat. (Use "*" for all) - Type '!help' to print this message again.
Yui-GPT CLI is licensed under the MIT License. See LICENSE
for more information.