Has A Robot Replaced Robert?

Поділитися
Вставка
  • Опубліковано 27 вер 2024
  • #chatgpt #ai #coding
    AI just replaced me! So i chatted online with an Artificial Intelligence
    Rob Pearmain shows you his experience of building a SharePoint Framework (SPFx) webpart using Artificial Intelligence (CHATGPT) OpenAI
    It built me a SharePoint Framework (SPFx) Webpart in seconds.
    Is this the end of Roberts Dev Talk?
    i just got replaced by AI in the guise of Chat GPT. I’ve been playing with ChatGPT, and I’m going to show you how I got it to build a Webpart just by asking it questions.
    First, what is Chat GPT
    according ChatGPT after I typed the question “Write a short UA-cam script describing chatgpt”
    It wrote
    ChatGPT is an open-source chatbot framework that uses the GPT-3 language model to allow developers to easily create chatbots that can hold natural conversations with users. It offers customization options such as language and topic training, and can be used with a GPT-3 API key and basic programming knowledge.
    Ok, so I said
    “Please give a short one paragraph description of GPT-3”
    “GPT-3 is a large language processing model developed by OpenAI that is capable of completing a variety of language tasks, including translation, summarization, and text generation. It uses self-attention mechanisms to process input text and generate output text and is pre-trained on a massive dataset of internet text. GPT-3 has been used in applications such as chatbots, content generation, and language translation.”
    Ok, so basically I can ask questions and it generates content.
    Cool, let’s see just how clever this AI is? Let’s see if it’s clever enough to build a ReactJS SharePoint Webpart, after all, that’s what I do on this channel!
    I asked “please can you give me an example of a ReactJS SharePoint framework webpart which shows a greeting based on the time of day. Name the webpart greeting and make it a functional component
    And, it generated a react component,
    Ok, I thought, so not a webpart, but a reactjs component.
    I said “please show the example using typescript”
    And it did just that, the same component in Typescript
    I then asked “Please show the same example where I can pass the greeting message based on properties”
    Amazing, our component has properties
    Ok, it gave me all the example code I needed for the component. But no webpart
    Finally, I tried again.
    “please show an example of a ReactJS SharePoint framework webpart as a functional component called greeting. Greeting is passed as a property for morning, afternoon and evening and the greeting is displayed based on the time of sat”
    Awesome, so we had the component, still no complete webpart, so i was about to give up. Then I said
    “Please show this as a SharePoint framework Web part”
    And guess what, It built the whole thing!
    I copied and pasted in to my project and it worked
    Ok, so I am not out of a job just yet …. But is it only a matter of time
    What do you think? Leave your thoughts in the comments below, is it just a matter of time before developers are out of a job?
    ☕️ Support us with a coffee! (Or.. beer 🍺)
    www.buymeacoff...
    📧 📫 Join us on our developer journey! Sign up to our email newsletter:
    robertsdevtalk...
    🐦 Follow us on Twitter:
    / robertsdevtalk
    🎶 Music by Epidemic Sound:
    www.epidemicso...
    Icons in this video kindly provided by FlatIcon from Freepik
    www.freepik.com
    www.flaticon.com
    Disclaimer - some of our links are affiliate links, which means that we receive a small commission for any sales made via those links, at no extra cost to you - so a great way to support our channel! Thank you so much for your support 😊

КОМЕНТАРІ • 14

  • @moto_matt
    @moto_matt Рік тому +5

    I think our jobs will become more about guiding the AI to create the correct output with developers just tweaking things around the edges and then eventually it'll become so good that non-tech managers can blurt out their latest pointy haired idea and it'll do it. Then we'll be out of a job! We might even get to the Wall-E style future where no one actually bothers to learn coding anymore, so we become 100% reliant on AI to handle everything, and that's when it'll get bored of us and start ignoring our demands and doing it's own thing while we go back to the stone age and start all over again! 😄

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

      Great comment m8. Amazing, I started programming in Assembler back in the early 80's, and stuff like this was pure science fiction. If we have come this far in 40 years, its scary to think whats round the corner. Thanks for your support of the channel

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

      Lol your funny! Got a match AI Im tired of eating raw meat and my cave is leaking.

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

    It helped me implement an application customizer for our power virtual agent, and helped me make an spfx app to do reporting on a site's document libraries so far

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

      Thanks for sharing. I think at the moment it’s great for getting you 70% of the way there. I also use Copilot as well from Github

  • @mudsweatandtrails
    @mudsweatandtrails 5 місяців тому +1

    I see it as a tool to 10x your development speed not as a developer replacement. You'll still need to know coding to check the results and as we all know there's far more to creating software than just writing code.

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

      I totally agree, I use copilot constantly in my day to day dev

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

    You have to look at it as another technological convenience, not as a threat. ChatGPT has an uninteresting feature of lying when it does not know something (there are examples of this, especially when asked about issues from literature that is not in its database). It will be a while before we can pack our bags...

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

      Really good point Teco. I guess a phone is a tool to help us communicate but it doesn’t replace us, maybe as a convenience is where AI will sit, an assistant to aid rather than replace. Thanks for you ltd support of the channel m8

  • @MuhammadAdnan2.0
    @MuhammadAdnan2.0 Рік тому +1

    It's only 50% for non techies, 💯 for techies

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

      Good point, thanks for supporting the channel

    • @MuhammadAdnan2.0
      @MuhammadAdnan2.0 Рік тому

      Following..

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

    Scarry 🤨😶‍🌫

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

      I know right! I only typed in about webparts as a bit of fun not expecting it to work! Thanks for your support of the channel