The Code Wolf
The Code Wolf
  • Видео 53
  • Просмотров 138 760
Setup and code with a local AI model using Ollama and Phi3.
Learn to use Ollama and the Phi3 model to setup and code against a fully local, offline AI environment. This video acts a simple introduction to these powerful tools that can transform your AI development practices. Local AI models are powerful and under-utilized tools that more devs should be using.
00:00 Intro
00:55 Setup Ollama
03:30 Setup the AI model
05:53 Semantic Kernel overview
06:26 Connect to the AI model via code
09:12 Real world use cases
12:11 Why use local AI models?
GitHub repo for ollama starter app:
github.com/alex-wolf-ps/ollama-starter
GitHub repo for database chat app:
github.com/alex-wolf-ps/chat-sql-data-demo
My other AI videos:
Learn to use AI to chat with your own data: ruclip...
Просмотров: 70

Видео

Microsoft Build 2024 - .NET Recap in 6 minutes!
Просмотров 10 тыс.14 часов назад
There's an overwhelming amount of information at Microsoft Build 2024 - everything from AI updates to the .NET Aspire release to new platform features. In this video, we'll quickly explore the key announcements you need to know about for .NET 8.0 and 9.0. This is not a deep dive into any single feature, but rather an overview of everything you should be aware of to stay in the loop and dive int...
Will AI actually replace software developers?
Просмотров 18314 дней назад
The capabilities of AI continue to evolve everyday, causing a certain narrative to emerge that software developers might soon be replaced. Is there any merit to these claims? Are they realistic? What would AI actually need to be able to do to replace a software dev? Let's discuss.
Azure AI Document Intelligence is awesome! A simple intro.
Просмотров 33821 день назад
Azure AI Document Intelligence is a powerful AI service on Azure that allows you to analyze different types of data from documents and images. You can use this service to extract text from images, construct coding models from text data, perform other Optical Character Recognition tasks (OCR) and much more. Azure AI Document Intelligence can be used from either a portal UI or programmatically th...
Blazor SignalR File Uploads in .NET .8.0 (Part 3 of the File Upload Series)
Просмотров 281Месяц назад
Welcome to the Blazor File uploads series! This playlist is designed to be the ultimate reference for Blazor file uploads, fully updated for .NET 8.0. In each video we’ll explore how to handle file uploads using one of the different Blazor rendering modes - Static Server Side Rendering, Interactive Server Side Rendering with SignalR, and of course WebAssembly. In this third and final video we’r...
AI generate every Pokemon with OpenAI Dalle-3 and custom code
Просмотров 302Месяц назад
In this video, we'll explore how to use AI to generate every Pokemon with OpenAI's Dalle-3 model and some custom .NET code. This app uses an open source Pokemon web service to pull in every single generation of Pokemon and gives you the option to generate endless AI versions of them. Source code for the project: github.com/alex-wolf-ps/pokevolve Other videos you might enjoy: Use AI to chat with...
Add authenticated user login to any Azure App Service app in 10 minutes!
Просмотров 274Месяц назад
Adding user login and authentication to an app can be a time consuming effort. Luckily, Azure provides a set of authentication features known as easy auth that enable to you to integrate any app with custom identity providers, such as Google, Apple, Facebook, Entra ID, and more. In this video, we'll explore how to easily add authentication to an Azure hosted app using these platforms. We'll als...
Use AI to chat with a NoSQL database! A simple intro.
Просмотров 5322 месяца назад
In this video we'll explore how to use AI to query and chat with a NoSQL database. We'll see how to use AI embeddings and vector searches to query a NoSQL Mongo DB database with sets of loosely structured data in a meaningful way. We'll also explore how to setup the Azure OpenAI and Mongo DB services, and explore key AI and architectural concepts. Sample app GitHub repo: github.com/alex-wolf-ps...
Blazor Render Modes - Understand Component Feature Compatibility
Просмотров 5012 месяца назад
Starting in .NET 8.0, Blazor now has three different rendering modes - Static Server, Interactive Server, and WebAssembly. However, not all of these rendering modes support every feature of Blazor components. How do we know what capabilities of our components are supported across each rendering mode? In this video we'll explore which core features of Blazor components are supported across every...
Use Content Filtering to Build Safer OpenAI Apps
Просмотров 3303 месяца назад
My other AI videos: Learn to code a simple AI powered app: ruclips.net/video/HzgqgA2qv-I/видео.html Learn to use AI to chat with your own data: ruclips.net/video/OdpqciXDKjY/видео.html Learn Azure OpenAI fundamentals: ruclips.net/video/c66y0W5KFVY/видео.html Learn how to authenticate to Azure OpenAI the RIGHT way: ruclips.net/video/keIs_bpgdXs/видео.html Content filtering is a powerful feature ...
Use AI to chat with a relational SQL database with natural language!
Просмотров 8 тыс.3 месяца назад
Demo app: github.com/alex-wolf-ps/chat-sql-data-demo Intro to Azure OpenAI ruclips.net/video/c66y0W5KFVY/видео.html My other AI videos: Use AI to chat with a NoSQL database: ruclips.net/video/JhfNHnAahZ8/видео.html Learn to code a simple AI powered app: ruclips.net/video/HzgqgA2qv-I/видео.html Learn to use AI to chat with your document data: ruclips.net/video/OdpqciXDKjY/видео.html Learn Azure ...
.NET 9.0 Preview 1 is here!! An introductory tour.
Просмотров 9983 месяца назад
.NET 9.0 is the next version of the popular .NET framework. In this video we'll explore how to get .NET 9.0 up and running on your computer, work through a few new features, and explore the high level vision and priorities of this new release. .NET 9.0 is set to release later this year, but the first preview version is available now! Download link: dotnet.microsoft.com/en-us/next Visual Studio ...
Use a Redis Container for local .NET Development (and other frameworks)
Просмотров 1413 месяца назад
Local SQL Server Container Setup: ruclips.net/video/zqNr0wiKaMM/видео.html Local Azure Storage Emulator Setup: ruclips.net/video/V6iOFfi8VwY/видео.html Local Azure Cosmos DB Emulator Setup ruclips.net/video/bCDiMBfU7UE/видео.html In this video, you’ll learn how to use a Redis Docker Container for local app development with .NET and other frameworks. Redis is a powerful service for caching, pub/...
Use a SQL Server Database container for local .NET development (and other frameworks)
Просмотров 7273 месяца назад
In this video, we’ll explore how to use a SQL Server Database Container for local app development with .NET and other frameworks. Database containers provide a clean, portable alternative to full database server installations. We’ll see how to create the container using an official SQL Server image and connect to it through code. We’ll also learn how to persist data across container instances a...
Use the Azure Cosmos DB emulator to develop locally
Просмотров 1,4 тыс.4 месяца назад
Use the Azure Cosmos DB emulator to develop locally
Authenticate to Azure OpenAI the right way using Microsoft Entra ID
Просмотров 1,2 тыс.4 месяца назад
Authenticate to Azure OpenAI the right way using Microsoft Entra ID
Introducing Microsoft AppCAT - Analyze your apps for Azure migration in one command.
Просмотров 1754 месяца назад
Introducing Microsoft AppCAT - Analyze your apps for Azure migration in one command.
Build a Language Flashcard App with Azure AI and Blazor - every step!
Просмотров 4944 месяца назад
Build a Language Flashcard App with Azure AI and Blazor - every step!
Add a .gitignore file to your .NET apps the fast way!
Просмотров 5875 месяцев назад
Add a .gitignore file to your .NET apps the fast way!
Use the Azurite emulator for Azure Storage local development
Просмотров 4 тыс.5 месяцев назад
Use the Azurite emulator for Azure Storage local development
Learn Azure OpenAI - Chat and Code with Your Own Data!
Просмотров 8 тыс.5 месяцев назад
Learn Azure OpenAI - Chat and Code with Your Own Data!
Use azcopy to manage Azure Blob Storage - upload, download, sync, and more!
Просмотров 1,2 тыс.5 месяцев назад
Use azcopy to manage Azure Blob Storage - upload, download, sync, and more!
Blazor File Uploads in .NET 8.0 Part 2: WebAssembly
Просмотров 7376 месяцев назад
Blazor File Uploads in .NET 8.0 Part 2: WebAssembly
Blazor File Uploads in .NET 8.0 Part 1: Server-Side Rendering
Просмотров 1,3 тыс.6 месяцев назад
Blazor File Uploads in .NET 8.0 Part 1: Server-Side Rendering
Blazor Server Side Rendering in .NET 8.0: Work with Forms
Просмотров 1,3 тыс.6 месяцев назад
Blazor Server Side Rendering in .NET 8.0: Work with Forms
The C# Dev Kit for Visual Studio Code is...awesome? Maybe.
Просмотров 5716 месяцев назад
The C# Dev Kit for Visual Studio Code is...awesome? Maybe.
Manage Request Timeouts in .NET
Просмотров 9816 месяцев назад
Manage Request Timeouts in .NET
Faster .NET apps with Redis Output Caching - It's simple now!
Просмотров 1,9 тыс.8 месяцев назад
Faster .NET apps with Redis Output Caching - It's simple now!
Quick Tip! The new file comparison feature in Visual Studio 2022
Просмотров 4328 месяцев назад
Quick Tip! The new file comparison feature in Visual Studio 2022
Debugging in .NET 8.0 is way better!
Просмотров 1,6 тыс.9 месяцев назад
Debugging in .NET 8.0 is way better!

Комментарии

  • @user-fqlt
    @user-fqlt 8 часов назад

    Thanks for the very good content. You channel is underrated and you deserve a million subs.

    • @alexthecodewolf
      @alexthecodewolf 8 часов назад

      Thank you, that really means a lot. Really trying to grow this channel into something big and deliver content that simplifies convoluted topics.

  • @goodtimeforever2035
    @goodtimeforever2035 8 часов назад

    Hi @Thecodewolf, Could you please explain how to set up a local laptop to run the .NET code? As I'm not a coding expert, any useful suggestions you can provide would be greatly appreciated. If you can outline the necessary steps, it would make it easier for us to follow along and perform the demo ourselves.

    • @alexthecodewolf
      @alexthecodewolf 7 часов назад

      Hey, thanks for watching and providing feedback. This tutorial made some assumptions about coding knowledge with .NET or other languages, but I probably should have mentioned that up front. If you want to get started with .NET to recreate the code sample you can download visual studio here, which is the code editor I'm using that also installs .NET for you: visualstudio.microsoft.com/ You can then either clone the sample app from GitHub and just open it up in Visual Studio and follow along with the tutorial, or you can create a new project using Visual Studio and copy in the code. File -> New Project -> C# console app. Hope this helps a little bit!

  • @Joly0
    @Joly0 14 часов назад

    Is it possible to have a version, that works without azure? So using the normal openai api with a key and maybe other llm providers such as ollama?

    • @alexthecodewolf
      @alexthecodewolf 10 часов назад

      I actually just made a video about this using Ollama, hah. It shows this same setup at the end using codellama ruclips.net/video/177qX6mpyMg/видео.html The concepts in this video should work with any model that is skilled at text to code (such as code llama) and a SQL database of some sort. You'll have to experiment with different models and prompts to see which works best.

  • @bar10dr
    @bar10dr День назад

    The AI stuff is only available to a few selected partners, the signup form even states that if you are not a part of the select group you will be denied. Trash.

  • @smithnigelw
    @smithnigelw 2 дня назад

    Thank you. I’m most interested in the new C# 13 features.

  • @pwakabi
    @pwakabi 3 дня назад

    Excellent piece

  • @ganherngyih
    @ganherngyih 3 дня назад

    This is relevant for those taking AZ-104

  • @wiliam334
    @wiliam334 4 дня назад

    Been looking everywhere for it. Thanks a bunch

  • @goodtimeforever2035
    @goodtimeforever2035 5 дней назад

    Hey @alexthecodewolf - Can you able do the same video using AWS ?

    • @alexthecodewolf
      @alexthecodewolf 3 дня назад

      Hey, this should work using any powerful large language model and SQL based database, did you have a specific scenario in mind?

  • @razakalsharafy4708
    @razakalsharafy4708 5 дней назад

    Big thanks for this great video. I'll be interested in the Aspire but mostly interested in ways to reduce spending too much time catching technology rather than producing. Meaning Applications Builder rather than technology while the App Bilder will take care of the underline technology changes/upgrades.

  • @CrashPreinsertion
    @CrashPreinsertion 5 дней назад

    Hi Code Wolf. Just a quick note, I really appreciate you parsing out the relevant Build 2024 info for .Net devs. Watching Build is like standing in front of a firehose of AI, so thank you very much for a .Net dev oriented summary. Thumbs up & I'm now a new subscriber. Rock on! 👍🏻😎👍🏻

    • @alexthecodewolf
      @alexthecodewolf 5 дней назад

      Thanks for this specific feedback - this is actually why I made the video. There was actually a good amount of .NET content at Build but it was sort of overshadowed by all of the AI, Azure, and tooling integration (copilots/analytics) news.

  • @Osirus1156
    @Osirus1156 5 дней назад

    Feels like the ecosystem is kind of a mess. So many half built things, no true cross platform full IDE from them anymore (VS Code does not count, not at all), I like the performance things though.

    • @leftjabrighthook
      @leftjabrighthook 4 дня назад

      So much betting on half baked AI also disheartening. Pre-emptive laying off of devs without any real AI results I'm positive are hurting.

  • @alexclark6777
    @alexclark6777 5 дней назад

    Remember Microsoft English Query? Pepperidge Farm Remembers...

  • @chintu2691994
    @chintu2691994 5 дней назад

    Great news good to know that .net community has been improving unlike past frameworks that were slow and hard to maintain, there new frameworks are all as easy as C# itself and that too is improving day by day

  • @henriquedelafonte283
    @henriquedelafonte283 5 дней назад

    great news

  • @jeetmajumdar7588
    @jeetmajumdar7588 5 дней назад

    Hey is there any option for authentication in app service without using provider just using some mail account and password

    • @alexthecodewolf
      @alexthecodewolf 5 дней назад

      I don't think so, because App Service is designed to rely on some sort of "authority" to verify the user. You'd probably have to roll your own solution for this, such as ASP.NET Core's new identity system.

  • @bengroseclose1795
    @bengroseclose1795 6 дней назад

    Constructor inject for blazor components, very nice. Feels more like C# that way :D

  • @ee-lonlim8240
    @ee-lonlim8240 6 дней назад

    🙏tk u very much for the sharing. any chance there's a video . codebase for a chat-like interface / experience using similar azure open ai studio? tk u!

  • @10Totti
    @10Totti 6 дней назад

    Great content!

  • @user-fqlt
    @user-fqlt 6 дней назад

    Great content as always. Maui full course please.

  • @incokenzie8702
    @incokenzie8702 6 дней назад

    thats why i love youtube university,

  • @sindhupillai1354
    @sindhupillai1354 11 дней назад

    Good starting point for the people who are exploring more with Gen AI. Thanks for sharing valuable real time use-case. I am in 'Subscribed'. Hurray! waiting for more such use cases.

  • @peterhyderabad6436
    @peterhyderabad6436 12 дней назад

    “… endless pointless status update..” 🤣😂

  • @thomtechazuretutorials
    @thomtechazuretutorials 13 дней назад

    Nice.. anything on python and open ai?

  • @hutchm92
    @hutchm92 13 дней назад

    Preach! 😊

  • @polly28-9
    @polly28-9 13 дней назад

    Thanks a lot! How about huge database? We send the whole schema with the initial prompt which costs a lot? How to solve this problem with huge database?

    • @alexthecodewolf
      @alexthecodewolf 13 дней назад

      This can be tricky - I'd recommend this solution for small to medium size databases, I have some other content coming for larger database solutions. However, theoretically this solution can also work with large databases if the table structure is consistent/standardized. You'd probably need to use one of the large GPT models though, such as the 32k GPT-4, which accept higher volumes of tokens. I've been trying to figure out if there's a way to have the AI Model "store" or remember the initial schema prompt, but I haven't been able to find an ideal solution for that.

    • @polly28-9
      @polly28-9 13 дней назад

      @@alexthecodewolf Thanks a lot! Please, if you find some ways to have the AI model "store" or remember the initial schema, make such a video or write to me. I'm looking forward to it. Thank you!😀

  • @TellaTrix
    @TellaTrix 14 дней назад

    I love your content

  • @bananamaker4877
    @bananamaker4877 15 дней назад

    how to get the output as pdf?]

  • @alexthecodewolf
    @alexthecodewolf 15 дней назад

    The demo app is now available here: github.com/alex-wolf-ps/chat-sql-data-demo Sorry for the delays!

    • @MarvinMarkhamBurgos
      @MarvinMarkhamBurgos 6 дней назад

      Is it possible to run this on my mac m3? How can I get it up on my localhost once I have the Azure DB and the Azure OpenAI service up?

    • @dipteshbose
      @dipteshbose 5 дней назад

      Awesome. Thanks

  • @alexthecodewolf
    @alexthecodewolf 22 дня назад

    Due to the requests here I'm working on getting the source code available for this, it was tied to a project I couldn't release but am working that out.

    • @mukshobhit
      @mukshobhit 19 дней назад

      Thanks, did you get chance to get repo?

    • @user-wt5uy9pn5e
      @user-wt5uy9pn5e 16 дней назад

      Thank you Alex, looking forward to learn how to do it

    • @alexthecodewolf
      @alexthecodewolf 15 дней назад

      @@mukshobhit It's available now, thanks.

    • @alexthecodewolf
      @alexthecodewolf 15 дней назад

      It's available now, thanks.

    • @user-wt5uy9pn5e
      @user-wt5uy9pn5e 15 дней назад

      @@alexthecodewolf Thank you Alex, grateful for making it available

  • @sinamohammadpourinaeim1058
    @sinamohammadpourinaeim1058 22 дня назад

    Hi Code Wolf Thanks for your useful video, Is there any offline AI Service to use the same thing in our local machine or our own sever?

    • @alexthecodewolf
      @alexthecodewolf 15 дней назад

      Hey, thanks for watching. There are definitely local AI models, but I haven't worked with them enough to recommend any sort of solution for this. Would probably be a good topic to research for another video :)

  • @fealgu100
    @fealgu100 23 дня назад

    Is OpenAI is available to costumers via an application form only? Meaning, only businesses?

    • @alexthecodewolf
      @alexthecodewolf 21 день назад

      The last time I checked you had to apply via the form still, but I believe personal accounts can also get approved pretty quick - mine was.

  •  25 дней назад

    Excellent explanation and video. But I am getting 2 errors when I open the repo in VS 2022 Community, the key one being "The name 'rendermode' does not exist in the current context." It points at the @rendermode directive in the WasmUpload.razor file. The "@using static Microsoft.AspNetCore.Components.Web.RenderMode" directive is in Imports.razor, so that's not it. Since I'm a newbie to rendermode, can you provide any guidance? Thanks.

    • @alexthecodewolf
      @alexthecodewolf 25 дней назад

      Hey, thanks for watching. The syntax for the rendermode feature should match what you see here, as another reference: learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-8.0#client-side-rendering-csr If that's not working, are you on the latest .NET 8.0? You shouldn't have to include any usings for this to work, it should work by default.

    •  23 дня назад

      @@alexthecodewolf Thank you for the repo and video. The 2 errors I am seeing show up when building your repo without any modifications on my part. The syntax of the rendermode directive in your repo is as shown in the link you provided. If I may ask, does the repo still build when you try it? The 2nd build error I'm getting is "Metadate file '...\FileUpload.Client.dll' could not be found.

  • @Baraka-yl2dp
    @Baraka-yl2dp Месяц назад

    Code Wolf, can you please share your source code?

  • @peterhyderabad6436
    @peterhyderabad6436 Месяц назад

    When you say locally is it on the web server, if so can it be saved to a folder outside of root folder? Thanks

    • @alexthecodewolf
      @alexthecodewolf Месяц назад

      You could save the file to any directory that the process running the app has access to, whether that's local or a web server

  • @hirenshekhda3567
    @hirenshekhda3567 Месяц назад

    Hello sir can you please source code for education purposes? Its working universe database?

  • @davidparedes1632
    @davidparedes1632 Месяц назад

    Thank you Wolf! Can you show how Timeout work?

  • @twenty4marc306
    @twenty4marc306 Месяц назад

    Hi, do you have a public demo?

  • @ShaharNardiaAllOverTheNet
    @ShaharNardiaAllOverTheNet Месяц назад

    thank you very much wolf🙏 exactly what I am coding right now for my customer

  • @10Totti
    @10Totti Месяц назад

    Great Tutorial thanks!

  • @janisaksson5966
    @janisaksson5966 Месяц назад

    Is it possible to authenticate by using a service principal from a none Azure client?

    • @alexthecodewolf
      @alexthecodewolf Месяц назад

      When you say "non Azure client" - I assume you mean an app or service hosted on-prem or in another cloud, correct? This scenario should be supported, though I haven't tested it myself. The OpenAIClient in your code does accept both DefaultAzureCredential or ClientSecretCredential as a parameter. DefaultAzureCredentialshould be able to read IDs out of your appsettings file by default, or you could pass them in more directly to the ClientSecretCredential (I think this is the right one offhand but it might be a different credential type in the Azure.Identity library). You'd just have to create an app registration in azure and then provide your ids to to the OpenAIClient. Hope this helps!

  • @janisaksson5966
    @janisaksson5966 Месяц назад

    Thanks for a very informative walkthrough of Entra ID authentication using OpenAI.

  • @RandyVie86
    @RandyVie86 Месяц назад

    to bad none of them feel like they are from the same world, that needs to be a feature

    • @alexthecodewolf
      @alexthecodewolf Месяц назад

      That's a fair point, the prompt could be adjusted in various ways to try and capture the original style more. I don't have a ton of pokemon experience so I just enjoyed the cool CGI look.

  • @johncerpa3782
    @johncerpa3782 Месяц назад

    Great video

  • @jyothirmaimachavaram4307
    @jyothirmaimachavaram4307 Месяц назад

    Hello, Could you please let me know where can I get the source code for it?

  • @Jake-td8nm
    @Jake-td8nm Месяц назад

    Man... If Pokemon had been like this back when I was burnin' AA batteries to binge Pokemon Red, I wouldn't have left the house til I was 25. Very cool. My hot take is AI games will (eventually) be good

    • @alexthecodewolf
      @alexthecodewolf Месяц назад

      Building a game with AI would be a good video topic :D

  • @sajjadmussani
    @sajjadmussani Месяц назад

    very informative. can you please share the code of your Razor app?

  • @Motion152
    @Motion152 Месяц назад

    Thank you, super useful will have to sub 🤷‍♂

  • @begemotik88888888
    @begemotik88888888 Месяц назад

    Good day, please how to download file in blazor

  • @Robd515
    @Robd515 Месяц назад

    Great video, thank you. More on authentication would be awesome.