Generative AI into ANY .NET App with SemanticKernel

41,297
0
Published 2024-05-31
Check out my courses at dometrain.com/
Get the source code: mailchi.mp/dometrain/f_hqglt_2e8

Become a Patreon and get special perks: www.patreon.com/nickchapsas

Hello, everybody. I'm Nick, and in this video, I will show you how to get started with adding LLMs and Generative AI into any .NET application using C# and the SemanticKernel library.

Workshops: bit.ly/nickworkshops

Don't forget to comment, like and subscribe :)

Social Media:
Follow me on GitHub: github.com/Elfocrash
Follow me on Twitter: twitter.com/nickchapsas
Connect on LinkedIn: www.linkedin.com/in/nick-chapsas

Keep coding merch: keepcoding.shop/

#csharp #dotnet

All Comments (21)
  • @Azagatoth
    Ideally I would want to have a local LLM with our training material/documentation, so the users can access that
  • @paulguk
    Would be interested in follow up videos that explore interacting with data (eg via SQL) to obtain data relevant to questions asked by the user.
  • @alfany6252
    It would be better if you told about running local LLM with C#
  • @nitrovent
    The most fascinating feature of the semantic kernel for me was the kernel plugins that allow you to give the AI access to local function to reach the goal you specify in chat. You decorate your plugin functions with a description in plain text and the semantic kernel uses it to orchestrate function calls. This way you can access local data that is highly dynamic (local time, user's todo list, whatever) but it will also call functions to create content or control the app. That really blew my mind.
  • @HenryETaylor
    Directly exposing AI features to my customers would only make sense if it generated higher revenues from existing clients or accelerated the sales cycle (allowing me to grow a bigger customer base), but integrating AI features into the tools I write for myself to generate synthetic data, categorize and analyze server traffic and cloud costs... Yes! That I will start doing immediately!
  • @RoySalisbury
    Would be cool to see a demo on feeding it some SQL table creation statements or some c# objects (perhaps your MovieDB example) and have it generate the code for you. Then ask it to do thinks with the code like "Add the necessary error handling".
  • @danclarkeuk
    Nice. I've got some dotnet code that's interacting with OpenAI via their REST API - but I might convert that over to Semantic Kernel after seeing this.
  • @zachemny
    Also an example of embedding documents with SK into a local model would be very interesting.
  • @flybyw
    I was expecting to see Nick discovering that "Nick: " is not in the loop, but he Ctrl+C'ed early every time.
  • @TheMannihilator
    Thank you for the demo. Maybe you could use another LLM instead of OpenAI stuff.
  • @Chatlan
    Thanks for the video. It would be interesting to see how to use RAG as well
  • @Nick can we use same code when targeting OpenAI instead of AzureOpenAI ? if not, what would be the diffrence ?
  • @tyomidi
    Would have been cool it is was with Llama but I dont see any good way with Dotnet?
  • @nick066hu
    Is there any reason why should we use OpenAI thru Azure ? The Open AI api is also directly available. Can someone with some experience with both pls help me compare these two approaches: Pro/Con /Pricing
  • @Craxmerax
    How would I use this to stream the response to a frontend application and get the same sort of feel where the chat bot is writing in the response like in the CLI?