Build Your First AI Chat Bot with OpenAI and .NET in Minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ย. 2024
  • Checkout .NET AI Samples: github.com/dot...
    This demo: github.com/jam...
    Let's start our AI developer learning journey by building out a simple chat bot powered by .NET, OpenAI, and Semantic Kernel. Let's send a few prompts into GPT-4 and parse the results in just a few lines of code. We will also talk a bit about Semantic Kernel which greatly simplified communicating with different LLMs, but also offers plugins which are then easily and automatically invoked by models, support for responsible AI via filters, includes instrumentation/metrics, and more!
    Semanatic Kernel: learn.microsof...
    GPT Overview: • How large language mod...
    Join this channel to get access to perks:
    / @jamesmontemagno
    👕 Buy some swag! - jamesmontemagn...
    ☕️ Buy me a coffee - www.buymeacoff...
    Follow:
    👨‍💻 GitHub: github.com/jam...
    🦜 Twitter: / jamesmontemagno
    📄 Website: www.montemagno...
    📰 Newsletter: newsletter.mon...
    Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
    What is on my hat? It is the CLE clothing logo because I am from Cleveland! Checkout their awesome CLE merch: cleclothingco....
    What is that art on my wall? It is an original piece from the French street artist Gregos of La Butte Montmartre: / bcez1onhiqx
    My Setup:
    📷 Canon M50 Mark II - amzn.to/3P8R7lp
    💡 Nanoleaf Elements Lights - amzn.to/3umwJVW
    🎙 Blue Spark Microphone - amzn.to/3qgtYkq
    🎙 Blue Pop Filter - amzn.to/3jEWM3r
    🤳 Rode Microphone Arm - amzn.to/2Z68AlE
    🎧 Sony MDR7306 Headphones - amzn.to/372jxta
    📲 Stream Deck - amzn.to/373Uk1n
    🖱 MX Master 2S Mouse - amzn.to/3d7J2gj
    ⌨️ Tecware Phantom Keyboard - amzn.to/3aUP4y9
    Using links I provide I may receive a commission if you buy something which helps support the channel.
    #dotnet #openai #semantickernel #azureopenai #aspnetcore #ai
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 32

  • @JohnPowellonplus
    @JohnPowellonplus 6 หลายเดือนก่อน +10

    This is great, instead of interacting with python code from C# we can now use the features in the Symantic Kernel. Keen to explore if we can use Ollama and local models?

  • @ymtan
    @ymtan 6 หลายเดือนก่อน +14

    Superb video on OpenAI. James could you kindly please do more videos on this OpenAI integrated into .NET MAUI application ?

    • @JamesMontemagno
      @JamesMontemagno  6 หลายเดือนก่อน +2

      I would say this approach is what I would use. Build an API that talks to OpenAI or other models and have your app talk to it. You don’t want to put your api key in your app

  • @tzurdo1
    @tzurdo1 6 หลายเดือนก่อน +3

    Great video! It'll be nice if you can make more Semantic Kernel content, specifically RAG integration. Thanks for the video :)

  • @mandlaenkosihlatshwayo2684
    @mandlaenkosihlatshwayo2684 6 หลายเดือนก่อน +5

    Can you do one in blazor whereby it interacts with the content of the website like the services a website provides. In the form of an AI chat agent in a chatbot box. Then second series you could do one whereby it functions in a e-commerce website and retrieves products such as when a person asks for the cheapest handbag etc. I don't know what you think about these ideas?

  • @MihaiMoisei
    @MihaiMoisei 6 หลายเดือนก่อน +5

    Awesome introduction, Thanks.

  • @gorgik
    @gorgik 5 หลายเดือนก่อน

    Nice video. What if you send all previous messages, does it count against your input tokens and they will be charged over and over again? Also the chat will eventually finished when the tokens number became over the limit.

  • @annraoi
    @annraoi 6 หลายเดือนก่อน

    Thank you for the great video, James! I'm looking forward to Embeddings and RAG being released. Would you happen to know when they will be available?

  • @goldmund67
    @goldmund67 5 หลายเดือนก่อน

    You're killing me, James. I convinced myself I have to learn Python and LangChain. I purposely ignored Semantic Kernel because...well...we've seen this "Microsoft vs the entire Open Source World" approach before...but...like a moth drawn to a lightbulb...having a dotnet SDK is...too...powerful...to...resist... Ugh.

  • @appomobi
    @appomobi 6 หลายเดือนก่อน +1

    Insanely simple

  • @AdamsTaiwan
    @AdamsTaiwan 6 หลายเดือนก่อน +2

    Great. Now show us how we can use the latest announced Phi-3 + our own data offline with MAUI either on the desktop on phone.

  • @scorpiondeity642
    @scorpiondeity642 6 หลายเดือนก่อน +1

    Initial phase with the echo back functionality working great but with the actual API I can't seem to solve only getting 500 Internal Server Errors back. Hoping to have this working soon though, it's a lot of fun

    • @JamesMontemagno
      @JamesMontemagno  6 หลายเดือนก่อน +1

      Did you sign up for the api key and deposited funds for gpt4 access?

    • @scorpiondeity642
      @scorpiondeity642 6 หลายเดือนก่อน +1

      @@JamesMontemagno Thank you for the reply - I did already have $5 sitting in my account, so had just created the key to work with. Interestingly, it was after adding another $5 to it, then it started working. So I'm good to go now, even though I now have $10 in there lol All good though, that's still worth it. Not sure if that was a glitch or why it needed the additional $5

  • @sulmarpl
    @sulmarpl 6 หลายเดือนก่อน

    Greats! Please record next episode about C# ChatGPT Plugin

  • @bobbastian760
    @bobbastian760 15 วันที่ผ่านมา

    link to building your first prompt article missing

  • @bobbastian760
    @bobbastian760 16 วันที่ผ่านมา

    It would be good if you just guided us step by step on project setup - maybe just use blazor server as it's quick and easy. Also the repo is huge and not just this project - no idea where this project is int the repo at all.

    • @JamesMontemagno
      @JamesMontemagno  15 วันที่ผ่านมา

      Here is a separate repo of just this github.com/jamesmontemagno/AIDemo

  • @feintfoot1589
    @feintfoot1589 6 หลายเดือนก่อน

    do we still need to register to have access to these?
    are the AI functionalities available to non-enterprise and non-Microsoft partners?

    • @JamesMontemagno
      @JamesMontemagno  6 หลายเดือนก่อน

      For Azure OpenAI I think you need to register. Here I’m using normal OpenAI

    • @feintfoot1589
      @feintfoot1589 6 หลายเดือนก่อน

      @@JamesMontemagno thanks for the clarification

  • @slashd
    @slashd 6 หลายเดือนก่อน +1

    Awesome!

  • @dotnetrealworldexample
    @dotnetrealworldexample 6 หลายเดือนก่อน

    Where i can get openai key?? or can you share api key for learning prospective if possible

    • @JamesMontemagno
      @JamesMontemagno  6 หลายเดือนก่อน

      You have to register on the OpenAI portal

  • @afolabiolayemi2488
    @afolabiolayemi2488 6 หลายเดือนก่อน

    How do I use it on MAUI

    • @JamesMontemagno
      @JamesMontemagno  6 หลายเดือนก่อน

      Call the api from your app :)

  • @bobbastian760
    @bobbastian760 15 วันที่ผ่านมา

    You connected to chatGPT but in no way did you make a 'chat bot'

  • @jasonyang696
    @jasonyang696 6 หลายเดือนก่อน +1

    I am the first?