Hallucinating Responses and Links
# 🤝help
a
I added YouTube.com we my Knowledge Base for my bot, so when user request for video material or video link, it can send them real YouTube Links based on the conversation but it keeps hallucinating links that doesn’t exist or coming up with plain texts Attached below is my current workflow. Please help

https://cdn.discordapp.com/attachments/1135883375710830643/1135883376147054752/e2c8a871-80aa-4fa2-a8d2-671be25f8aaa.jpg

a
Hey @adorable-honey-44335, the knowledge agent is designed to return text answers, not necessarily links. You can follow this feature request for more updates https://discord.com/channels/1108396290624213082/1116023435429167246
e
@adorable-honey-44335 could you send a screenshot of the Youtube database
a
You can pass {{event.results.map(a=>a.dsFriendlyName + '\n' + a.content ).join('\n\n')}} to an ai task to convert search results to text manually / yourself
a
Hello @early-train-33247 I used YouTube.com as a Webpage database
Is there a way I can call YouTube API instead?
a
sure, you could do that in an Execute code card. I don't have any code you can copy/paste and use though so you'll need to write the code yourself.
e
This won't work I'm afraid. You should use the Youtube API instead
a
Can you please guide me on how to go about it?
2 Views