https://discord.gg/botpress logo
#🤝help
Third party API + GPT knowledge
# 🤝help
f

flat-nail-33989

07/07/2023, 10:38 AM
Hi, I would like to know if we can call for a third party API - add it as a context to the AI task card, but also have GPT use its own knowledge to answer taking the API output as a context? For e.g. I use a travel API to get the bot to suggest some travel destinations, based on some inputs from the user, but then the bot uses gpt knowledge to answet questions about the outputted travel destinations, using its own knowledge base, which goes beyond the api data. I believe using knowledge agent would again require it to search from a specified knowledge base, right? Any idea how this can be achieved please? Thanks!
a

acceptable-kangaroo-64719

07/07/2023, 11:28 AM
Hey @flat-nail-33989 have tou had a look at the ChatGPT + Plugins template? It would be a good place to start. You can get there from "Explore Templates"
f

flat-nail-33989

07/07/2023, 11:33 AM
Aah thanks! Is this more like using Open AI functions within botpress?
a

acceptable-kangaroo-64719

07/07/2023, 11:36 AM
not really, no
it is the same idea, just implemented differently
f

flat-nail-33989

07/07/2023, 12:05 PM
got it, thanks @acceptable-kangaroo-64719 ! Hoping to experiment with this widely.