3

GitHub - prss-io/prssai: 🤖 PRSS AI Companion & Autoblogger. Research & C...

 1 month ago
source link: https://github.com/prss-io/prssai
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Repository files navigation

PRSS AI Companion & Autoblogger. Research & Create articles for PRSS Site Creator.

📦 Setup

  • Install Docker Desktop and Ollama
  • Install PRSS Site Creator (for GUI management and enhanced features)
  • ollama pull dolphin-mistral:7b-v2.2.1 or choose another model according to your preference.
  • Clone this repository
  • Rename ./app/example.env to ./app/.env and edit accordingly.
  • Open a terminal and run ./install from the ./bin directory.

✳️ Usage in PRSS

The prssai features have been introduced as of PRSS version 1.9.0. To enable it, install it from 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.

image

image

Prompt

Ask the model anything. It 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.

image

✴️ 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

Stops the docker containers.

./stop

uninstall

Uninstalls the docker containers.

./uninstall




About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK