JamesSprow / GodotGPT

An implementation of the OpenAI API into a Godot addon.
MIT License
11 stars 0 forks source link

chat_example seed prompt issue #1

Open Labanazario opened 1 month ago

Labanazario commented 1 month ago

Hello. Thanks for the plugin. I believe this part of the code should go here, image Otherwise, the seed prompt will be completely ignored.

I don't know if others had the same problem when using seed prompt, but in my case it worked by making this substitution. image

If this is not a bug, please just ignore. Again, thanks.

TheSecondReal0 commented 1 month ago

Thanks for the feedback and for using the addon! You're correct, the seed prompt should definitely be inserted before the user's message. I pushed a fix, it might be a little before it's updated on the asset library.

Any other feedback on the addon? I'd love to hear about how you're using it and any ideas for improvement!

Labanazario commented 1 month ago

Thanks for the answer. Yes, I'm developing a chatbot aimed at providing emotional support. I'm using your addon to connect to the OpenAI API. The example models and code organization made a big difference in helping me understand how to connect and configure. For now, my feedback would be the possibility of adjusting these parameters through the addon: image I don't know if it is possible, but maybe in the way the temperature is. Anyway, thank you for the excellent work. 😊