https://discord.gg/botpress logo
Using Functions with Open AI Assistant API Workflo...
# 🤝help
b
Hello guys, I have installed this workflow in my bot to use the Open AI Assistant API (the one that is on the hub as you can see in the first images). Everything is working really good! but i have a doubt. In the second image i show you the card that i use in my main flow. I put the api key and the assistant id, but i don´t understand what does the function input works 😅 The thing is, that i have read that the we can use functions in our assistant and the description of the workflow in the hub says that we can use simple javascript to do so. Can anyone help me undestand this? How can i set the functions to be called or used in this card of my main flow?? have anyone used it before? Thanks a lot for your time and i hope someone can help me with these questions🥲 https://cdn.discordapp.com/attachments/1390749343887265843/1390749345145422026/image.png?ex=686963c2&is=68681242&hm=4f764f5586de6e8450292e252d9e071130f90413e31304c1feb0f95efe4f81d2& https://cdn.discordapp.com/attachments/1390749343887265843/1390749346290728990/image.png?ex=686963c3&is=68681243&hm=5839f98ad759739ac2e3d070c2a8668355e0cf4516484ebb867fb6c973f266fc&
w
You can open the workflow and change the code /play around with it And get help from openai doc
b
Yes, I have read the openAI docs but to be honest it isn´t quite clear to me. Also i don´t really undesrtand how to set this functions to trigger them because i have inspected the cards from the workflow. Do you have any advice?
2 Views