I created an assistant and integrated it with WhatsApp, but when it responds to people, it includes a reference to the document where I handled its database. Is it possible to remove this reference?
@pethervaz0 - Welcome to the forum!
- Check how the database returns stuff to the LLM and reformat it if you can before passing it in as context to finish the run.
- Prompt engineer (give examples how the response should look) and set proper temp and top_p values.
You can’t remove it by using prompt, you have to do it in your code before sending it.
I do it like this on my side with javascript:
message.content.replace(/\【.*?】/g, “”)
This is the only working solution.
You have to do it client side once you receive your message content.