The CreatorCon Call for Content is officially open! Get started here.

Candy AI Clone Project — Stuck with Response Logic

albertbadger
Kilo Explorer

Hey everyone,

I’m working in Triple Minds and I’m working on a Candy AI Clone project like this. It’s been exciting so far, but I’ve run into a problem with the AI’s response logic. Sometimes the AI gives unrelated answers or repeats itself, even though the prompts and context seem fine.

I’m using Node.js backend with Open AI GPT API and a React frontend, storing chat history in MongoDB. Here’s what I’ve tried

 

  • Cleaning context before sending it to the model

  • Limiting maximum tokens for better relevance

  • Adding metadata for user preferences

  • Still, the AI occasionally loops or drifts off-topic

Has anyone experienced this while building a Candy AI or any AI clone? I’m trying to make conversations smooth, engaging, and less repetitive, but this part is tricky 

Would love any suggestions or tips from the community!

1 REPLY 1

Mark Manders
Mega Patron

Can you also relate everything you mention to ServiceNow? It's a well known issue that AI is prone to repeating and giving unrelated answers. Open AI has even posted that their own way of working is the cause of this and that they don't know if it can be resolved.
But from your question it is hard to see what you expect from the ServiceNow Community. The fact that ServiceNow keeps pushing AI, doesn't mean it's an AI platform.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark