how to use chatbot transcript
# 🤝help
f
I am trying to use the chatbot card to have a 3 step conversation, however, the transcript does not seem to be used, as the chatbot starts from the beginning again. Am I missing some variable? How would it work? If I put these instructions into chatGPT, it will move the conversation through all 3 steps and then end. thanks so much for your help in advance.

https://cdn.discordapp.com/attachments/1139117565495488542/1139117565654880287/Screenshot_from_2023-08-10_10-43-35.png

a
Hey @few-knife-642 any reason why you're not using different capture cards for these questions?
If the AI Task is jsut to add variety to the questions, the "AI Personality" agent re-writes all bot content to be in a certain style
f
we like to use this as a quick way to test single prompts with users without gating the whole process. this is our workflow: * non-tech user plays around with the playground from openai. * if you put the full prompt there as the system message, the bot will simply guide the user through all questions, then end the conversation * the prompt shall be copy-pasted into a single botpress card, so we can iterate and test quickly with users * once we verified that users like it, we are moving the bot into our production system * i thought the "task instructions" map to the "system" message and "AI Task Input" maps to the user/chatbot history, if that was the case, it should work. basically trying to recreate this functionality, which should be possible:

https://www.youtube.com/watch?v=XzEilWbMAs8

a
We wrap things from the AI Task in our own prompt template, complete with our own system prompt and everything, so prompts copy/pasted from OpenAI playground won't translate 100% to Botpress AI Tasks, but that's okay because we didn't build Botpress to be a 100% copy of OpenAI Playground. In Botpress, the best way to ask a series of questions to the user is with the capture information card.
I've worked with AI Task cards that ask a series of questions and record their answers, but they're extremly brittle and prone to break if users don't play nice. Capture information cards are much more robust and reliable, even if they take more effort to set up.
f
thanks for the update. how exactly are they wrapped?
a
We add things before and after the user text to help make sure chatGPT follows user instruction and outputs proper JSON
f
okay, this helped. thank you!
115 Views