How to Build a ChatGPT Webex Bot

Поділитися
Вставка
  • Опубліковано 19 жов 2024
  • In this video, I walk you through the steps to build a ChatGPT bot for Webex. Anyone should be able to follow along, even if you're not a programmer. For this project, you'll need a Webex account, the latest version of Python, VS Code, and a paid account with OpenAI.
    Webex - developer.webe...
    Python - www.python.org
    VS Code - code.visualstu...
    OpenAI - openai.com
    Github - github.com/fbr...
    The code for this project can be found at:
    github.com/col...
    #chatgptwebex #webex #chatgpt #python #cisco #ciscocollaboration

КОМЕНТАРІ • 34

  • @happyj313
    @happyj313 Рік тому +1

    Heyyy, welcome back

  • @JasonBallTechtorials
    @JasonBallTechtorials Рік тому +2

    Excellent Video! Very informative, useful, and easy enough for most engineers to replicate.

  • @AliJamil
    @AliJamil Рік тому

    my web socket is open, however the bot would not respond. the messages from the bot are not coming to the server. Any guidance / help is appreciated.

    • @CollabCrush
      @CollabCrush  Рік тому

      This could be due to a lot of different factors. I would first check that the bot you added to your space is actually the bot you registered in the developer portal. Sounds silly, but I've botched this many times because they names can be so similar. So my advice is to first delete the bot that's in your webex app... then go back over to the developer portal, copy and paste the address that was given to you when you created the bot, then re-add the bot to your webex app based on the username you copied from the bot registration page. Second, when you add the bot to your webex app, make sure you add it to a 1-1 direct message. If you just add it to a space, the bot will ignore you unless you address it with @mention.

  • @prabhakrnd
    @prabhakrnd Рік тому +1

    It was great session, and I am able to build the bot and able to get response :)

  • @ankitdhami385
    @ankitdhami385 Рік тому

    Can it used for our team in organisation

  • @pd2871
    @pd2871 5 місяців тому

    This is not working now, can you recheck it? It would be really helpful, Thanks

  • @周承浩-n8t
    @周承浩-n8t Рік тому

    At 3:31 of the video, after dragging the GPT file into the dialog box and creating a new Terminal, my Termina dialog box shows “C:\User\user name\OneDrive - company name\Desktop\GPT>”, is not the same as in the video, so I can't proceed.🙃
    Can you help me point out the reason?🙏

    • @CollabCrush
      @CollabCrush  Рік тому +2

      It sounds like OneDrive is synced with your desktop, which means that the folder you're dragging onto VS Code is actually in the cloud. To get around this, you can either disable OneDrive until you're finished with the project, or you could just create your folder in a place that is not synced with OneDrive... then drag that folder onto VS Code.

  • @atag512
    @atag512 3 місяці тому

    the logic is sound but the challenge for me is 0 Code experience. Even if I attempt to learn it wouldn't be enough to build properly for a customer. Where does one start to get him/herself up to speed with these type of programming skillset specific to this?

    • @CollabCrush
      @CollabCrush  3 місяці тому +1

      Pick a language, then start with the basics: variables, data types, functions, loops, etc. There are tons of free tutorials on UA-cam. Only when you're comfortable with the basics should you try to follow tutorials like this... not to build something for a customer. Do it just to learn. Do a bunch of them, and do them more than once. In the beginning it feels hard, but when you get through it, you realize it's not that bad. Don't listen to anyone who says x language is the best or y language is the worst. Different languages are good for different functions. If you're into networking, Cisco, Webex bots, and possibly AI, python makes a lot of sense. It's an easy language all things considered. On the other hand, JavaScript is great for the web. Spend some time researching different languages and understanding their strengths and weaknesses. Think carefully about what kinds of projects you want to build. It's fine to dabble in several languages just to get a feel for them... but once you choose a language, try to stick with it and get really good at that language before you venture off.

  • @RDFContent
    @RDFContent Рік тому +1

    Great guide, weirdly though I am not getting any Hello World when I type anything - not seeing it in the terminal either.

    • @RDFContent
      @RDFContent Рік тому

      Sorry this comment was very vague. Followed this but when I run python app.py I get our the output you do and socket open but when I attempt to chat to the bot I see absolutely nothing in terminal and get no feedback via webex.

    • @CollabCrush
      @CollabCrush  Рік тому +2

      Try this. Remove the bot from your Webex app. Go back to the developer portal and copy-and-paste the bot's USERNAME... Remember, the NAME won't work. You have to copy the username --> whatever@webex.bot ....then add that back into your Webex app via direct conversation.

    • @RDFContent
      @RDFContent Рік тому +2

      @@CollabCrush Thanks for taking the time to reply.
      Yup Just checked this and that is what I did initially which didn't work.
      Anyone else experienced this reading these comments?

    • @zacharyzero
      @zacharyzero Рік тому

      I’m at the same spot. I also don’t receive a response and I did use the username.

    • @zacharyzero
      @zacharyzero Рік тому

      And I have the same output from the python app.py command.

  • @ankitdhami385
    @ankitdhami385 Рік тому

    12:15 how to run it in windows VsCode..?

  • @akshaykadidal23
    @akshaykadidal23 Рік тому +1

    my websocket is open, however the bot would not respond. the messges from the bot are not comming to the server. Any guidence / help is appriciated.

    • @CollabCrush
      @CollabCrush  Рік тому +1

      This could be due to a lot of different factors. I would first check that the bot you added to your space is actually the bot you registered in the developer portal. Sounds silly, but I've botched this many times because they names can be so similar. So my advice is to first delete the bot that's in your webex app... then go back over to the developer portal, copy and paste the address that was given to you when you created the bot, then re-add the bot to your webex app based on the username you copied from the bot registration page. Second, when you add the bot to your webex app, make sure you add it to a 1-1 direct message. If you just add it to a space, the bot will ignore you unless you address it with @mention. Try those two things first, and let me know what happens.... If it doesn't help, we'll try something else.

    • @akshaykadidal23
      @akshaykadidal23 Рік тому +1

      thank you@@CollabCrush . I created another ID and it is working just fine :)

    • @akshaykadidal23
      @akshaykadidal23 Рік тому

      @@CollabCrush Sorry I am running in to this error again. I checked everyting like you mentioned. Made sure it is the same bot, re added it to my webex direct coversation. Now I get nothing. No errors on the server, no response on webex

    • @CollabCrush
      @CollabCrush  Рік тому

      @@akshaykadidal23 Sorry to hear that.... but again, it could be due to many different factors. Hard to say without me seeing your code and seeing everything that you did. Question: When you added the bot to the webex space, did you add it by the bot's username or the bot name? It has to be the one that says whatever@webex.bot or else you'll just be adding someone else's bot.