AnttiVainikka / TextAdventure

0 stars 0 forks source link

Add chat between player character and faction members #39

Closed bensku closed 10 months ago

bensku commented 10 months ago

The chat system appears to work quite well. The biggest problem is deciding when the player has convinced the faction to join. Anything that is not straight up "no" tends to be interpreted as "yes", if the faction is relatively friendly to begin with.

I also updated OpenAI client library and added support for JSON-only generation to improve reliability. I ended up not using it for the chat after all, but it is still nice to have.