wickercar / foundry-ai-text-importer

A FoundryVTT Module that uses GPT to import monster stats from plaintext into the virtual tabletop software
MIT License
0 stars 0 forks source link

Can't make this work #2

Closed Damianoatlante closed 6 months ago

Damianoatlante commented 6 months ago

Screenshot 2024-02-11 160845

Hi, I'm trying to make the module work but I only get this error. I generated an API on OpenAI and pasted it but It doesn't seem to work

wickercar commented 6 months ago

Hey @Damianoatlante , thanks for calling this out! To use the current implementation, you must have access to GPT-4 (including gpt-4-turbo-preview) or else the module will not work. I tried accomplishing this import in several different ways using gpt-3.5-turbo, but ultimately the context window is too small to effectively parse the monster block.

This was definitely not clear though! In https://github.com/wickercar/foundry-ai-text-importer/commit/8a7987cba100dd89a57b4a5bb3258cac12e6814e I added a new invalidation state to let a user know that their key is valid but does not have access to the correct models.

Will close once this is released! Thanks for trying it out

wickercar commented 6 months ago

Added new invalidation state which is working, closing this since the UI now properly communicates the problem.