Deprecation Notice: This package is deprecated on PRSS versions 2.0 and above. In these versions, PRSSAI is built into PRSS. Thank you!
PRSS AI Companion & Autoblogger. Research & Create articles for PRSS Site Creator.
- Install Docker Desktop and Ollama
- Install PRSS Site Creator (for GUI management and enhanced features)
- Open a terminal and run
ollama pull dolphin-mistral:7b-v2.2.1
- You can choose other models instead of dolphin-mistral. Check out the list here.
- Clone or download this repository.
- Rename
./app/example.env
to./app/.env
and edit accordingly. - Open a terminal and run
./install
from the./bin
directory.
The prssai features are included in PRSS version 1.9.0 and above. To enable it, visit the PRSS "Addons" page.
Specify a number of topics for the AI to write about. Once complete, you will be able to review the returned text, discard entries, and transform the remaining texts to blog posts in one click.
Ask the model anything. The model will have memory of the previous conversations and articles generated. To forget the history, prompt it with "erase history". The memory is stored locally in the prssai_redis
container.
To run the following commands, you must do so from the ./bin
directory after setup.
Generates an article based on the parameters set in your ./app/.env
file.
./article [topic of your article]
This command can also load text files as reference. Path is relative to the container, so use the ./app/files
directory for this feature.
Ask any question to the model. Useful for asking follow-up questions about the article or revised sentences.
./prompt [your question]
Enter the sh
shell for the python container.
./shell
Erases the model's memory about previous conversations and research.
./flushdb
Starts the docker containers (chrome, worker, redis).
./start
Restarts the docker containers.
./restart
Stops the docker containers.
./stop
Uninstalls the docker containers.
./uninstall