Releases: PepijnMC/FoundryVTT-AI-Description-Generator
Releases · PepijnMC/FoundryVTT-AI-Description-Generator
v1.6.0
Changes
- Player character sheets now also have a GPT-3 button to generate a prompt that takes into account the character's lineage, class(es), and anything they write in the Appearance textbox.
- Added an optional
descriptionType
argument to theconstructPrompt
function. This was needed to create better prompts for player characters. This sadly breaks existing macros using this function. - Made the
subjectType
andkey
arguments optional, defaulting to an empty string and the key specified in the module settings respectively. - Added functions to take care of data migration.
- The prompt setting when left on default will be migrated to include the new
descriptionType
argument. - Implemented permission settings for all module features.
- Added better context for more item types, like backpacks.
- Added better context for spells and features from player characters.
Fixes
- Fixed GPT-3 button not showing for items.
v1.5.0
Changes
- Prompts from actors now include better context depending on their actor type (npc, vehicle, or group).
- Added a Debug Mode setting that puts prompts in the chat instead of sending them to GPT-3, to help with testing your settings and macros.
Fixes
- The API functions are no longer available to non-GM users.
- If there is a demand to let players send prompts I will look into permission settings but for now this module is aimed at GMs.
- Removed unnecessary GPT-3 prompt button from player character sheets.
- Their names are basically always proper nouns and won't provide any context for GPT-3.
- Removed GPT-3 prompt button for non-GM users on item sheets.
v1.4.1
v1.4.0
v1.3.0
Changes
- Added a setting to allow the older models of GPT-3 to be used. The default is still the latest model.
- Added a setting to edit the prompt that is constructed and sent to GPT-3.
- Uses
{key}
s to substitute the data. - The default prompt comes with some processing to eliminate unnecessary data, this processing is not performed on custom prompts.
- OpenAI charges for tokens from both the input and output, custom input prompts might cost you more!
- Uses
- Switched places of the
subject
andsubjectType
parameters in theconstructPrompt
API function to maintain some consistency.
v1.2.0
Changes
- The module's API functions (constructPrompt and sendPrompt) are now disabled by default and can be enabled in the module settings. If you do not plan on creating macros to send prompts to GPT-3 this setting can stay disabled.
- Added a language setting (defaults to the FoundryVTT language setting) to prompt GPT-3 to reply in that language. Mileage may vary as GPT-3 was trained mainly in English.
v1.1.0
Changes
- Added two commands available to the GM to construct and send prompts to GPT-3.
/gpt construct (subject) [subjectType]
/gpt send (prompt)
- Examples:
/gpt construct Ancient White Dragon creature
/gpt construct Fireball spell
/gpt send What does the Magic Missile spell do in dnd5e?