Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Latest commit

 

History

History
107 lines (73 loc) · 4.04 KB

README.md

File metadata and controls

107 lines (73 loc) · 4.04 KB

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.

📦 Setup

✳️ Usage in PRSS

The prssai features are included in PRSS version 1.9.0 and above. To enable it, visit the PRSS "Addons" page.

Batch generate articles (autoblogging)

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.

Prompt

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.

✴️ Usage in Terminal

To run the following commands, you must do so from the ./bin directory after setup.

article

Generates an article based on the parameters set in your ./app/.env file.

./article [topic of your article]

article2

This command can also load text files as reference. Path is relative to the container, so use the ./app/files directory for this feature.

article3

prompt

Ask any question to the model. Useful for asking follow-up questions about the article or revised sentences.

./prompt [your question]

articleb

shell

Enter the sh shell for the python container.

./shell

flushdb

Erases the model's memory about previous conversations and research.

./flushdb

start

Starts the docker containers (chrome, worker, redis).

./start

restart

Restarts the docker containers.

./restart

stop

Stops the docker containers.

./stop

uninstall

Uninstalls the docker containers.

./uninstall