Video není dostupné.
Omlouváme se.

How to Integrate Botpress Chatbots with Stack AI

Sdílet
Vložit
  • čas přidán 15. 08. 2024
  • In today's Botpress tutorial, I show how I get the best possible answers from my chatbots. What I do is integrate the software, StackAI, to take care of the questions. Here's the deal, StackAI is superior in handling prompts and Botpress is the best at designing conversations. As a developer, why wouldn't you combine the two best software to create an even better product?! Well, my friend, that is what I am going to show you all today.
    Code that I used in this video:
    const endpoint = "Your StackAI link"
    const headers = {
    Authorization: `Bearer XXXXXXXXXX`,
    "Content-Type": "application/json"
    }
    const data = {
    "in-0": workflow.question,
    }
    try {
    const response = await axios.post(endpoint, data, { headers })
    workflow.stackai = response.data["out-0"]
    } catch (error) {
    throw new Error(`stack-error: ${error}`)
    🌟 Key Takeaways:
    Showcasing a simple chatbot that is missing the feature of answering questions. It contains a "raw input" card where the user can ask their question which is later stored within the "workflow.question" variable.
    Setting up the basic StackAI integration with an "Execute code" card. Copy and paste prompts from StackAI to the code in Botpress.
    📬 Contact Us:
    Ready to take your business to the next level with a customized chatbot? Reach out to us for personalized bot development services!
    Sign up to ChatDash using my affiliate link: bit.ly/3UR9alp
    ❗Join my Discord server for bot-builders: / discord
    🙋 Check out my channel for more Botpress-related content such as guides, walkthroughs, etc!
    Chapters:
    0:00 Intro
    0:48 Botpress Preparations
    2:10 StackAI
    3:54 Testing
    4:22 Ending...
    🚀 Ready to transform your chatbot game? Hit play and embark on a journey of discovery! 🌐
    💬 #chatbotdevelopment #nocode #coding #botpress #techinnovation #aiaa

Komentáře • 19

  • @awakenwithoutcoffee
    @awakenwithoutcoffee Před 5 měsíci +1

    love the content my man, keep on going. Tip: RelevanceAI is about 4x cheaper so it might be a cool video to compare their capabilities.

  • @jenshobroh1294
    @jenshobroh1294 Před 6 měsíci

    Excellent! Very helpful.

  • @chessonpan1288
    @chessonpan1288 Před 5 měsíci

    it takes too long time to get the POST response, do you know how to use steam style like typewriter to get the response?

    • @lowelundgren
      @lowelundgren  Před 5 měsíci

      I have never done anything like that sorry

  • @real-ai-been
    @real-ai-been Před 6 měsíci +1

    Hey man are you open to collaboration? Where can I send you business inquiries?

    • @lowelundgren
      @lowelundgren  Před 6 měsíci +1

      Yes absolutely! Join my discord server and send me a DM

  • @fugitive2473
    @fugitive2473 Před 3 měsíci

    hey man, i am having the reply as "undefined" from the bot. IDK how to tackle this error

    • @lowelundgren
      @lowelundgren  Před 3 měsíci

      What I believe is that you have either, not uploaded your KB correctly or that the variable which sends the message or recieves the message from Stack AI are incorrectly built.

    • @ryanbadran3193
      @ryanbadran3193 Před měsícem

      Did you solve it?

  • @t.s.s.murthy9250
    @t.s.s.murthy9250 Před 3 měsíci

    hi thanq for the video, but im getting undefined as output, Pl.. help im struck

  • @Konsolon26
    @Konsolon26 Před 3 měsíci

    "Hello my brother, I've applied everything you explained in this video but when I know on the emulator it responds undefined. Please help me, I'm really stuck here."

    • @lowelundgren
      @lowelundgren  Před 3 měsíci

      Hey bro! Join my discord and send me a DM ;)

    • @suriyakharthikh1744
      @suriyakharthikh1744 Před 2 měsíci +1

      Hey konsolon, do you know how to solve "undefined" now? I'm also struggling for the past 2 days.if so, pls reply to this msg😢😢😢

    • @BiKariteam
      @BiKariteam Před měsícem

      @@suriyakharthikh1744 hi, did you find an answer?

    • @ryanbadran3193
      @ryanbadran3193 Před měsícem

      Did you solve it?