Skip to content

Releases: PepijnMC/FoundryVTT-AI-Description-Generator

v1.6.0

21 Jan 02:34
7bdf3ea
Compare
Choose a tag to compare

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 the constructPrompt function. This was needed to create better prompts for player characters. This sadly breaks existing macros using this function.
  • Made the subjectType and key 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

16 Jan 17:04
78b93d1
Compare
Choose a tag to compare

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

16 Jan 02:41
49752db
Compare
Choose a tag to compare

Fixes

  • Fixed prompts not being sent to GPT-3 after being contructed.

v1.4.0

15 Jan 19:58
d2a9a7d
Compare
Choose a tag to compare

Changes

  • Better context is now provided for spells, attacks, and features from a character sheet.

v1.3.0

14 Jan 18:59
50929e3
Compare
Choose a tag to compare

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!
  • Switched places of the subject and subjectType parameters in the constructPrompt API function to maintain some consistency.

v1.2.0

13 Jan 19:52
e5d1a21
Compare
Choose a tag to compare

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

13 Jan 08:42
1c78e22
Compare
Choose a tag to compare

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?

v1.0.1

11 Jan 20:55
5a0680b
Compare
Choose a tag to compare

Published

v1.0.0

11 Jan 00:34
f73fcad
Compare
Choose a tag to compare

Initial Release