Relative Content

Tag Archive for pythonopenai-apilarge-language-modelpy-langchaindatastax-astra

AI-based Text Adventure Game Autocompleting Player Inputs Prematurely

I am trying to write a text-based adventure game following a YouTube tutorial here: video. After updating the code according to the latest documentation, I’ve encountered a problem where the AI responds to the inputs that should be for the player. This issue persists for the first 3-4 inputs, after which the AI stops generating responses altogether.