How to Pass Knowledge-Based Information into AI Ta...
# 📖tutorials
s
Link to Tutorial: https://www.loom.com/share/f8620f808b094051b244c771d09f93dc?sid=f0a095cc-3cca-4210-8677-0f51342c996a Guide: How to Pass Knowledge-Based Information into AI Task Cards *It covers: * How to use the Debugger to find variable information that you want to use. How to pass knowledge agent results over to AI Task cards. Code from the Execute Card if (event.kb.results) { YOUR VAR = event.kb.results.map((result) => result.content).join(' ') // Set var to KB Results. } else bot.rules_retrieved = '' " // Else Set it Blank Things you could explore from here 1. See what the difference is between passing event.kb.results and event.kb.included and determine which is better. 2. Try using Top Facts {{event.nlu.top_facts}} and Elected facts from {{event.nlu.elected_facts}} 3. Parsing the KB information you pull to save tokens or ensure you are under minimum.
c
This is great! Once again 😉 thanks for your video @straight-wolf-37371 🔥
b
truly based, amazing stuff
f
I believe this was asked multiple times today only. Clutch!
c
Hi there Cameron, Thanks for the tutorial ! It's great to see a fellow game developer work with Botpress 👍 👍
s
I already got too many bot based game ideas 😆
c
Thats awesome man, would love to to see them in action some day.
l
this is awesome thanks!
a
.
c
you think we can make multiplayer games with chatbots ?
if not, it would be kind off funny to make it offline multiplayer where 1 people plays on where the other left off lol
s
I dont think we can with Botpress current because we don't have any way of having to people be able to message each other. But when they do human in the loop it could open up some possibilities but im not sure
c
That brings up the idea of group chatbots where there could be 5 users in a call with e.g. a chatbot tutor , like a virtual classroom
or it could be in gaming context
“Story Party” An AI assisted storyteller game where stories are written by the users together in gameform. Like a casual but fun get together
14 Views