Yegor-Budnikov / storygenerator

MIT License
0 stars 0 forks source link

Add filters for story generation #1

Closed Yegor-Budnikov closed 1 week ago

Yegor-Budnikov commented 1 week ago

Add filters:

Yegor-Budnikov commented 1 week ago

The first implementation will be simple -- standard drop-down menus for each filter.

Frontend Changes:

  1. New dropdown filters (style, complexity, length, character types, plot structure) are added.
  2. The selected filters are sent along with the prompt to the backend.

Backend Changes:

  1. The server now processes the filters and adds them to the prompt that is sent to the OpenAI API.
  2. The filters modify how the story is generated (e.g., length, style, etc.).