# Complete Chat - responses ending with strange characters

**URL:** <https://community.glideapps.com/t/complete-chat-responses-ending-with-strange-characters/77341>\
**Category:** Ask for Help\
**Created:** [October 26, 2024, 7:34am UTC](https://community.glideapps.com/t/complete-chat-responses-ending-with-strange-characters/77341 "2024-10-26T07:34:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giusy](https://avatars.discourse-cdn.com/v4/letter/g/858c86/32.png) [@Giusy](https://community.glideapps.com/u/Giusy)\
**Post date:** [October 26, 2024, 7:34am UTC](https://community.glideapps.com/t/complete-chat-responses-ending-with-strange-characters/77341/1 "2024-10-26T07:34:54Z")

</div>

I’m using the action Complete Chat based on a predefined prompt and 3 fields entered in a Form by the user. At the first submission of the form, the response seems ok but if I do other tests, the Chatgpt responses always shorter and end with strange characters repeating several times (sorry screenshot in French). I’ve tested different models (4, 4o), different temperature, max tokens or penalties values, but always the same behavior. Any ideas of root causes and of solutions?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/0/a08747520dc52674d597b341e295c8d2affa6812.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/5/95dabf6ed0f7cd7472a8f1a26809b7eee9088ff3.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/d/5d4d66712df5780a663c122aad8e82fac0fc1db6.png)

---

<div class="post-metadata">

**Author:** ![Giusy](https://avatars.discourse-cdn.com/v4/letter/g/858c86/32.png) [@Giusy](https://community.glideapps.com/u/Giusy)\
**Post date:** [October 26, 2024, 8:05am UTC](https://community.glideapps.com/t/complete-chat-responses-ending-with-strange-characters/77341/2 "2024-10-26T08:05:08Z")

</div>

it seems to work with a penalties = 0.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [October 26, 2024, 9:03am UTC](https://community.glideapps.com/t/complete-chat-responses-ending-with-strange-characters/77341/3 "2024-10-26T09:03:17Z")

</div>

Seems like you’re having a negative frequency penalty in your previous try. That might have increased the likelihood of repetitive words.

---

<div class="post-metadata">

**Author:** ![Giusy](https://avatars.discourse-cdn.com/v4/letter/g/858c86/32.png) [@Giusy](https://community.glideapps.com/u/Giusy)\
**Post date:** [October 26, 2024, 4:57pm UTC](https://community.glideapps.com/t/complete-chat-responses-ending-with-strange-characters/77341/4 "2024-10-26T16:57:12Z")

</div>

that was the case indeed. Thank you for your reply 🙏

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [November 2, 2024, 4:57pm UTC](https://community.glideapps.com/t/complete-chat-responses-ending-with-strange-characters/77341/5 "2024-11-02T16:57:17Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
