Explore a New C# Library for AI

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2024

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

  • @UCs6ktlulE5BEeb3vBBOu6DQ
    @UCs6ktlulE5BEeb3vBBOu6DQ 2 หลายเดือนก่อน +18

    I stopped programming in 99 but C# got me back on track. I love it.

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

      So you made a 2 year break until 2001 ?

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

    if you know what OS you want to build for you can create a platform specific executable using the --self-contained true option along with -r and it will include the .net runtime in the package. This increases the file size, but then you aren't dependent on dotnet being installed on the system where you are running it. This also helps in scenarios where you have multiple applications that might use different versions of the .net runtime on the same system, or when you are deploying to systems where you might not be able to control what versions are installed.

    • @technovangelist
      @technovangelist  2 หลายเดือนก่อน

      Thanks for sharing that. I didn't know, but I thought it had to be there.

  • @RomuloMagalhaesAutoTOPO
    @RomuloMagalhaesAutoTOPO 2 หลายเดือนก่อน +5

    Amazing Matt, thank you very much. I use C# to develop my AutoCAD plugin, and I'm very excited to discover situations that I will use this fantastic resource.

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

      @@RomuloMagalhaesAutoTOPO what do you mean for my "autocad plugin" ? Please elaborate is it a sellable product!!

  • @delphiguy23
    @delphiguy23 หลายเดือนก่อน +4

    This is awesome. But how does this differ from Semantic Kernel? AI is moving too fast and Im having a hard time catching up to it ;)

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

      Yes this is exactly what I thought. For sure semantic kernel supports not only C# but also Java and Phyton - hence I think it will get more attention and more maintenance. Also I think it supports more models. Not sure why this nuget was created. I think we will see in coming months how it will be developed.

  • @kyudechama
    @kyudechama 2 หลายเดือนก่อน +3

    Hi Matt, since you mentioned Ollama in the context of large production environments, could you share your thoughts on Ollama vs. vLLM? Both in terms of speed, scalability and ease of setup.

    • @HassanAllaham
      @HassanAllaham 2 หลายเดือนก่อน

      Agree... This is a very good request since I believe vLLM support more LLM architectures

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

    Fetching nuget packages is a separate command on windows to but many IDE's handle that though a menu or simlar, but when doing build pipes you still need to do it, but you should be able to do it through the dotnet runtime with "dotnet restore", but I have not tested this on a mac, only on linux.

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

    C# is my goto language so this will help my integration and automation projects.

  • @topcatalpha1
    @topcatalpha1 21 วันที่ผ่านมา

    Thx. After download, install and running the ollama service local, i had to execute "ollama run llama3.2" before the chat example can access it. (3.2 instead of 3.1 as model.) Not sure if it downloads package / plugin or is it building content ?

    • @technovangelist
      @technovangelist  21 วันที่ผ่านมา

      yup, you need a model to be able to do anything. That’s why the install tells you to add a model.

  • @pkmx-um9vb
    @pkmx-um9vb 2 หลายเดือนก่อน +1

    A great presentation of this topic - upvoted, and ... many thanks 👍

  • @emmanuelgoldstein3682
    @emmanuelgoldstein3682 2 หลายเดือนก่อน +1

    Cool Library. I must admit, I miss the news streams.

    • @technovangelist
      @technovangelist  2 หลายเดือนก่อน

      do you? i wasn't sure that anyone did

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

    OK.
    I am using VS 2022. How I can use this new technology of AI?

  • @camerascanfly
    @camerascanfly 2 หลายเดือนก่อน +4

    .NET on Mac is not unusual - I know many, many .NET developers which use a Mac. And did you know there are some great IDEs like Rider which works super fast on M-Macbooks. In fact I would never switch back to windows.

    • @nilesh-gule
      @nilesh-gule 2 หลายเดือนก่อน

      I have been using Mac for C# development for many years. I usually use VS Code instead of Rider or Visual Studio

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

    I wonder Matt were do you picture this nuget package against semantic kernel? I wonder if Microsoft is planning to maintain it heavily if there is actually a wider project (C#, Java, Python)/more established project already? Mine first opinion - I would go with semantic kernel. But video is very informative :)

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

    Love, love, love all your videos. Thank you!

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

    Thanks for your content! Q questions, what do you think is the future of Semantic Kernel? Is it gonna be replaced by this new library?

  • @ZuhaBuba
    @ZuhaBuba 12 วันที่ผ่านมา

    hello, you should use this famed and gamed, thing to improve windows

  • @aamir122a
    @aamir122a 2 หลายเดือนก่อน +4

    I really do not know if we can call C# implementation an AI framework , more a web service call , looks like ollama is still doing the heavy lifting . A lot of third party libraries tried to implement NN functionality in C# , never really took off , I remember building a NN in C# in my collage days, it was painful , Python seems born to do this , the Syntax feel so natural . I think what started AI for Python was Numpy.

    • @technovangelist
      @technovangelist  หลายเดือนก่อน +4

      Framework, api, sdk. Terms blend together and everyone defines them differently. This is simply a library that allows you to call any supported model runner in a consistent way. For a c# dev this is great. And since c# is designed to make a lot of things a whole lot easier (and does a great job of it) it’s pretty useful. To suggest that Python would be easier suggests you are just more familiar with Python as there is nothing in Python that makes it more or less suited to that particular task.

  • @ramesh.pothuraju
    @ramesh.pothuraju 2 หลายเดือนก่อน

    Thank you very much Matt! This information is very much helpful.

  • @CazicThule44
    @CazicThule44 2 หลายเดือนก่อน +1

    I've been using Microsoft Semantic Kernel. Will that go away and be replaced by this?

    • @sps014
      @sps014 2 หลายเดือนก่อน

      Nope

  • @HassanAllaham
    @HassanAllaham 2 หลายเดือนก่อน

    Not interested in C# but thanks for the good content🌹🌹🌹

  • @jahn_star
    @jahn_star 2 หลายเดือนก่อน +1

    Try "LangPipe AI C#"

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

    C#/.NET is not a Windows only thing any more. It's been available on other OSs for half a decade as .NET and for 2 decades as MONO. Only the Windows registry and GUIs (WinForms, WPF¹, WinUI²) parts are Windows only.
    Alternatives:
    1: Avalonia
    2: Uno

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

      Yup. I was at Microsoft when we tried to recruit Miguel dicaza from Mexico way back.

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

    Was wondering if ollama can be used with powershell

  • @PerfectlyNormalBeast
    @PerfectlyNormalBeast 2 หลายเดือนก่อน +1

    So this is not related to semantic kernel?

    • @technovangelist
      @technovangelist  2 หลายเดือนก่อน

      i think it is

    • @PerfectlyNormalBeast
      @PerfectlyNormalBeast 2 หลายเดือนก่อน

      I've been working on a rag tool. LLMs to give a few interpretations of each snippet, hoping that those will embed better
      It's using Microsoft.SemanticKernel
      Worked well for calling ollama, sqlite
      But the chroma hooks were lacking (I kicked off a python process for talking to chroma). It works until they add better support
      It would be interesting to compare this new package with semantic kernel (a very microsoft type of name)

  • @DanielSpringer
    @DanielSpringer 2 หลายเดือนก่อน

    Great video. Thank you!❤

  • @JNET_Reloaded
    @JNET_Reloaded 2 หลายเดือนก่อน

    open web ui has update how i update it ? also i made a php front end for use with ollama works well :) it has a cache too to save energy and time!

    • @vbitz4800
      @vbitz4800 2 หลายเดือนก่อน

      Also, Note that in the latest release document concept has changed a bit and now referred to as "knowledge". This threw me for a few minutes.

    • @Igbon5
      @Igbon5 2 หลายเดือนก่อน

      I would like to know that too.

    • @technovangelist
      @technovangelist  2 หลายเดือนก่อน

      Super easy. Assuming you have installed the easy way using docker, then stop the container, pull the latest version, restart the container. Keeping things up to date is one of Docker's magic powers. Even better to use a container called watchtower to automatize this.

    • @Igbon5
      @Igbon5 2 หลายเดือนก่อน

      @@technovangelist
      Thanks. Job done. I have tried RAG with my Motorcycle manual and Washing machine parts catalogue. Pretty good. I am going to explore loading more manuals and expanding the knowledge base to become a mechanical engineering genius. Maybe. Apparently some adjustments will be need.
      Thanks for the channel covering this important exiting phase of human culture.

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

    ❤❤❤❤❤❤❤

  • @charlesmccullough7149
    @charlesmccullough7149 2 หลายเดือนก่อน

    This is not a OS religious war question, but I'm curious why Ollama would run better on Windows as you mentioned in the video.

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

      Because I haven't seen anything run better on windows. If you are on Windows, and 75% of ollama users are on Windows, then there is nothing faster. But Ollama on Windows vs Linux vs Mac is about equal everywhere, given comparable hw.

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

      @@technovangelist Thanks for your response. I run Ollama on Ubuntu and thought maybe I was missing something and Windows might be better. You make great content!! Keep up the great work.

  • @matthiasandreas6549
    @matthiasandreas6549 2 หลายเดือนก่อน

    I like your videos 👍🏻👍🏻👍🏻 abd thank you for your work

  • @DataJuggler
    @DataJuggler 2 หลายเดือนก่อน

    If I remember right, I tried to install Ollama and I had to choose Open AI Key. I use Microsoft Azure OpenAI, does that work in Ollama? I am a C# developer and not sure I see the value in this.

    • @technovangelist
      @technovangelist  2 หลายเดือนก่อน +1

      Ollama has nothing to do with OpenAI. No need for any key. Doesn’t have any of the privacy and security concerns of OpenAI.

  • @Vulver
    @Vulver 25 วันที่ผ่านมา

    Problem with .Net is that most of the new tech is cloud based and is almost always behind everyone. Microsoft is trying too hard too cash out on us so I prefer to learn python rather than keep dreaming about open sourced frameworks and good services like hugging face fully integrated with .Net. and working locally if I wish. What I do is simple REST API using python and hugging face to get the model running, then I just call endpoints from C# and thats it. Works well, better than anything Microsoft came up with for local AI for now. It took me less time to learn python to the point I could do this than fighting these Microsoft frameworks for AI always having some issues and limits. Their solutions might work well for corporations, but in my opinion will slowly lead to an outflow of programmers over time to Python and more friendly technologies for individual developers in AI area.

    • @technovangelist
      @technovangelist  25 วันที่ผ่านมา

      I don’t love c# but I would chose it any day over the disaster that is Python.

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

    Gosh, not into python or C#

  • @Nagreed
    @Nagreed 2 หลายเดือนก่อน

    Hi Matt, isn't it possible to accomplish this already using python? why would someone bother to use c# and felll into a trap (.NET) the usual software industry lock in?

    • @technovangelist
      @technovangelist  2 หลายเดือนก่อน +1

      I would stick to something like TypeScript first but if you are already in that world, isn't having access to a good library for AI a good thing?

    • @technovangelist
      @technovangelist  2 หลายเดือนก่อน

      The only folks who think avoiding vendor lockin is possible are those who haven’t built significant apps

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

      Why do you think .NET is for lock in? If you mean deployment, it’s been deployable to Linux for almost a decade now and you can use any DB and editor you want 🤷‍♂️

    • @technovangelist
      @technovangelist  2 หลายเดือนก่อน

      i wouldn't think .net is the reason you are locked in. its everything else. nothing to do with microsoft

    • @steveavecillas1114
      @steveavecillas1114 2 หลายเดือนก่อน +1

      Developing software with c# is so much better than python or Java.. and visual studio is the best ide out there

  • @obinnaokafor6252
    @obinnaokafor6252 2 หลายเดือนก่อน +4

    If the majority of the users - over 70% - are Windows users, why not focus and invest more effort in making the experience on Windows great. Windows is the largest open developers and non-developers platform in the world.

    • @technovangelist
      @technovangelist  2 หลายเดือนก่อน +3

      The windows experience is just as good as Mac and Linux. They all perform equally well.

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

      @obinnaokafor6252 .net core is designed to be cross platform.. I'm all for something that lives in this world but even better of it is easily accessible across all platforms.

  • @Pure_Science_and_Technology
    @Pure_Science_and_Technology 2 หลายเดือนก่อน

    I prefer not to rely on Microsoft. Their focus seems to be on monetizing at every opportunity, and I don’t want to risk being forced into using Azure or another proprietary platform. That said, I do use C# because of my long experience with it. For any AI needs in my C# applications, I simply connect to my LLMs through APIs, avoiding any unnecessary dependencies on Microsoft services.

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

      I would say that is true of Google and most other companies. Of all the companies I have worked at it was among the most focused on getting customers to use partner solutions rather than anything by MS.

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

      I agree with you , tried using C# semantic kernel with functional calling and multiple agents. It was a disaster so far if you don’t use their Azure AI. I’m considering learning python and use an api instead.

  • @zyxwvutsrqponmlkh
    @zyxwvutsrqponmlkh 2 หลายเดือนก่อน +3

    C# stuff calcifies and will be irrelevant and unable to adapt in 3 years. This release is just pre-deprecated.

    • @maccloud8526
      @maccloud8526 2 หลายเดือนก่อน

      Well that's everything really. Computer languages are just for humans to express to machines. Now the machines can do it for themselves who needs humans and their languages?

    • @RoryEckel
      @RoryEckel 2 หลายเดือนก่อน

      That would be your problem for not writing enough vendor-agnostic interfaces to swap out the important bits when they age

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

      Its already irrelevant.

    • @technovangelist
      @technovangelist  2 หลายเดือนก่อน +4

      Haters have been saying that for decades.... and been wrong every time.

  • @sil778
    @sil778 2 หลายเดือนก่อน +1

    C# is dead. it has around 1% of software market. No future for c#.

    • @technovangelist
      @technovangelist  2 หลายเดือนก่อน +5

      I doubt c# is dying anytime soon. Its never gotten the attention it deserves. If you are in that ecosystem, it can be great

    • @obinnaokafor6252
      @obinnaokafor6252 2 หลายเดือนก่อน

      You are incredibly ignorant. Lol

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

      Lol, you are so clueless, but if it makes you feel better...