Hi, how can I remove or disable the display of the source on which the answer was generated. I use the knowledge base in the form of files and each time the source is given.
Hello,
This is not possible to do it in the prompt you’ll have to do it in your frontend code.
message.content.replace(/\【.*?】/g, “”
You can find my full code here OpenAssistantGPT/components/chat-message.tsx at main · marcolivierbouch/OpenAssistantGPT · GitHub