https://discord.gg/botpress logo
Web Search API Integration
# 🤝help
p
Is there a way to incorporate an Web Search API ( such as Brave Search API, SerpAI, etc) into my AI Agent so that it can deepen the search that it is able to do since the web search on botpress just skims the surface? Any help would be grately appreciated!
p
You can make api calls within the execute code card in a standard node, or make an action for the autonomous nodes. Hope this helps!
p
Thank you so much! I will try this out!
p
No worries :))
p
It doesn't look like it is using the API, just using the provided web search.
p
Are you using an autonomous node? How did you set it up?
p
p
What is your prompt? I would initially test it without the search knowledge card if I were you.
p
It would seem that the issue comes from the action card as it is saying an error has occurred now that the knowledge card is gone.
p
Did you set up an input and output schema?
p
No, I did not ,but now that you've asked, I am assuming I should have lol
p
Yeah, that is a requirement for actions :)'
p
Thank you for your help ,but it looks to still be causing errors. Do you know of any literature or videos I can watch that would be helpful to try and solve this?
w
Share the code of your action 🙂
4 Views