The ChatBot that we are testing (which uses the Assistant’s API) is working quite well. However, we are getting a few issues:
- In its responses it includes things like this → 【12:0†source】
- URLs (sourced from the Assistant’s knowledge file) are not clickable
- Phone numbers are not dialable
Can anyone advise as to how to fix these?
5lmnts
2
- You have to remove the source-data in your script on your own, with something like (not tested, just asked ChatGPT):
$text = preg_replace('/【[^†【】]+†[^【】]+】/', '', $text);
- If the output is not generated by the Chatbot itself, you have to link URLs on your own.
- Just tell the assistant in the instructions, how you want them.
Rules:
- Clickable Content:
- Use <a> elements for URLs, paths, emails, and phone numbers to ensure they are easy to read and clickable.
1 Like