thanks , is a good video can make video explain how impliment rag with llama cpp in dotnet using llamasharp
@MaximumCode20 сағат бұрын
That is an excellent suggestion. I will include it in my list of videos to create. Additionally, Microsoft has developed a new library for loading LLMs using C#, which will be the topic of my next video. Stay tuned.
@Wazxcvgh222Ай бұрын
ai generated video about ai..
@MaximumCodeАй бұрын
All the content was human generated voiced with AI and images were generated by AI. The code is not AI generated.
@Wazxcvgh222Ай бұрын
@@MaximumCode yeah i was mentioning the ai generated part of the video with the voice and images, very great tutorial
@MaximumCodeАй бұрын
@@Wazxcvgh222 Thank you :)
@kelet-studios7 күн бұрын
*NN (neural network)
@harryjohn1617Ай бұрын
Easy for you but i am facing many problem in 3:29 i am unable to see complete code and the link you provide not contain the information i need
@MaximumCodeАй бұрын
@harryjohn1617 Here is the link to the repo: github.com/MaxAkbar/SimpleChatSystem/tree/main. Sorry about that I had the wrong link for the code. I updated the description to match the code.
@林君翰-o2kАй бұрын
when I execute the function kernelMemory.AskAsync, there is an error occurs "input span arguments must not be empty". How do I solve this problem?
@MaximumCodeАй бұрын
You are most likely sending it an empty query. Also are you running the code from this video? If so what steps are you taking to get the failure?
@林君翰-o2kАй бұрын
@@MaximumCode when the system send me a message "Document imported successfully. what would you like to retrieve?", I send question like ""what's Albert Einstein's formula?" then the error messages occured.
@MaximumCodeАй бұрын
@@林君翰-o2k I just downloaded the code and went through the steps you outlined, and I am not able to reproduce the error you are getting. What LLM are you using in Ollama?
@林君翰-o2kАй бұрын
@@MaximumCode I choose Document option to import the file "AlbertEinstein.txt", but it shows a message "not found". I check VectorDirectory folder that a new json file generated so I neglected the previous error message. Next, I restart the program, I choose Chat with Knowledge Base option and then it still shows a message "not found". So I think the program can't read the json file in VectorDirectory folder so that the error occured.
@MaximumCodeАй бұрын
@@林君翰-o2k Build the solution then check the bin directory of the ChatWithAKnowledgeBase. You should have the AlbertEinstein.txt there. If not that is your issue. You can also get the full path with the "c:\<path to file>\AlbertEinstein.txt" and that should work as well. If you have spaces in your folder path then put double quotes around the path. Next try to import the file. After you import check the bin directory of the VectorDirectory to see if the file got imported. Hope this works for you.
@pradeepbanajawad149Ай бұрын
Good video with Rag. only question when we use multiple documents, it'll couldn't handle
@MaximumCodeАй бұрын
how many documents did you have?
@pradeepbanajawad149Ай бұрын
@@MaximumCode - I have presented this to our team, they really like it and they asked me for multiple pdf (we have so many pdf regarding to our project and documentation). The question is how can do with several document. please help me on this or please make an video for multiple documents and chat with that.
@MaximumCodeАй бұрын
@@pradeepbanajawad149 I have had no issues with multiple documents. How big are your documents? Can they be catofrized into different subjects? Can you share some of your pdf files and I can test them? Along with the queries that are not working? One more thing what LLM are you using?
@nguyenazaria71022 ай бұрын
Tks
@jefflehman52782 ай бұрын
The explanations are fine in general, but it is almost impossible to follow what you are actually doing. When you are adding or moving code it suddenly gets very confusing because you do everything so fast. When you say you're going to do or type something, do the action slowly enough for us to see what you're doing. E.g. type code, leave it for enough time to be read before moving on. When moving code, say what exactly you're highlighting, then cut it, then say exactly where you're going to place it, then place it, and then point out what it's doing in the new location. New learners should be following you and copying the code to their own code window. Give them time to do it, or at least give them time to see what you're doing. I had to pause and back up so many times my back arrow is wearing out!
@MaximumCode2 ай бұрын
Hi @jefflehman5278, sorry that you found this to be quick and hard to follow. We do have the code in GitHub: github.com/MaxAkbar/TicTacToeGameConsole hopefully that will help.
@GoliYardan3 ай бұрын
You talk very clear, thanks 👍
@victorfarias16823 ай бұрын
Omg thanks for this video
@GoliYardan3 ай бұрын
Hey ... You are awesome 👍😎
@GoliYardan3 ай бұрын
Yeah 👍
@jameseconomy25785 ай бұрын
Why play distracting horrible music while you are talking? Had to shut it off.
@MaximumCode5 ай бұрын
Yeah sorry about that.
@lichighus6 ай бұрын
Your repository link is not available, where can I see this code? p.s. video so good
@MaximumCode6 ай бұрын
The link is in the description but I will post it here as well: github.com/MaxAkbar/WinAnyInARowGameMiniMaxConsole
@lichighus6 ай бұрын
@@MaximumCode bro this link is 404 error( it is normally working for your device?
@MaximumCode6 ай бұрын
@@lichighus sorry about that I mistakenly had it private now it's public and you should be able to see the code.
@lichighus6 ай бұрын
@@MaximumCode thank you so much bro, good luck to you!
@DiegoEstrategia7 ай бұрын
só faltou colocar os milisegundos e a compress
@MaximumCode7 ай бұрын
Do you mean on the animated gif?
@nileshgopnarayan44647 ай бұрын
Do you courses ?
@MaximumCode7 ай бұрын
Not sure what you mean but if you mean I have online classes on Udemy or something like that no I do not.
@legotheman8 ай бұрын
Excellent video, thank you! Learnt a lot.
@shotx33310 ай бұрын
You can use int.Parse() for this task
@raghurambhagawatula702511 ай бұрын
HOW THE HELL YOU CAN WATCH THAT FONT ON A LAPTOP! NOT EVERYONE HAS BIG SCREENS!
@legotheman8 ай бұрын
Check that your quality is set to HD? It looks fine on my laptop screen.
@KnowladgeNexus Жыл бұрын
Wonder full video
@Navask87 Жыл бұрын
Thank you so much for the tutorial ❤.One question,Is it possible to convert any image into Format1bppPixel black and white with transparent background using this library.Highly appreciate your response.
@MaximumCode Жыл бұрын
@Navask87 My first instinct is to say yes but I have only tested this with what as shown in the above tutorial.
@madandhmadandh5254 Жыл бұрын
Xml reader is getting exception
@MaximumCode Жыл бұрын
Can you please clarify what you are attempting to accomplish, or specify which section of the video is giving you trouble?
@damon8289 Жыл бұрын
Promo-SM 🙈
@faiksami94 Жыл бұрын
Thank you for the video. May I ask if i can convert player 2 into a PC ?
@MaximumCode Жыл бұрын
Minmax is the algorithm you would need to use. Currently, I'm working on a solution. It should be done in about a week or two.
@faiksami94 Жыл бұрын
@@MaximumCode thank you. chatgpt made me one but its quite a mess. if you like i will share it with you through here
@MaximumCode Жыл бұрын
@@faiksami94 LOL yeah chatgpt is great but you have to know exactly what you want to ask it. When it comes to code you have to modify the output. I just finished the min max and tomorrow I will work on the video. It should be out in the next week for sure.
@faiksami94 Жыл бұрын
@@MaximumCode thank you
@MaximumCode Жыл бұрын
@@faiksami94 I posted the following video hope it helps: kzbin.info/www/bejne/e6q7eHqZnZeZpKc
@dabiun7443 Жыл бұрын
could you explain how can we change the color of X and O while the user choices ? please haha im stuck with that
@MaximumCode Жыл бұрын
Sure, write a method that will change the console foreground like the following: static void WriteInColor(string message, ConsoleColor currentColor, ConsoleColor defaultColor) { Console.ForegroundColor = currentColor; Console.WriteLine(message); Console.ForegroundColor = defaultColor; } Then when you wan to use it do the following: WriteInColor("X", ConsoleColor.Red, ConsoleColor.White); or like this: WriteInColor("X", ConsoleColor.Blue, ConsoleColor.White); Hope this helps.
@swathisathyaprakash5526 Жыл бұрын
Excellent tutorial
@jovanamincic77452 жыл бұрын
000/000-000 (999) 000-0000
@AShahabov2 жыл бұрын
Thank you so much, man! SkiaSharp is a kind of popular C# library for 2D Graphics, but I couldn't find a good Tutorial.
@MaximumCode2 жыл бұрын
You're welcome glad you like it.
@MrAvinashd2 жыл бұрын
How i can make it single player and the other player is a bot
@MaximumCode2 жыл бұрын
You would need to create an AI model and use it to make the moves for the opposing player. Maybe this link can help: stackoverflow.com/questions/6952607/what-would-be-a-good-ai-strategy-to-play-gomoku. For tic tac toe you can use a minmax algorithm. Good luck.
@MrAvinashd2 жыл бұрын
@@MaximumCode I tried minmax algorithm it's taking so much time I'm working with 15*15 grid with 5 length as winning
@MaximumCode2 жыл бұрын
When creating the minmax put a limit to it. It's taking time because it's trying to identify a lot of moves. Take a look at Sebastian Lague video kzbin.info/www/bejne/ol7LmWhno8iaeqs. Hope this helps.
@muhammadusmanhussain94262 жыл бұрын
Great and easy explanation of xml files. Thanks alot.
@Technology_888882 жыл бұрын
What are the complete steps to create a PayPal adder money program
@MaximumCode2 жыл бұрын
You mean a PayPal processor to accept payments on your site?
@MaximumCode2 жыл бұрын
Here is a link on Microsoft's site: docs.microsoft.com/en-us/aspnet/web-forms/overview/getting-started/getting-started-with-aspnet-45-web-forms/checkout-and-payment-with-paypal
@victorynwefo59892 жыл бұрын
can you please upload more videos on Asp.Net Core Part
@MaximumCode2 жыл бұрын
Yup, this was part one I will be working on the next part this weekend.
@jellycoding2 жыл бұрын
Why do you play the distracting music? I can't hear what you say. music = less viewers. no music = more viewers.
@MaximumCode2 жыл бұрын
Yes, we understand, and we have stopped playing music in the newer version of the tutorials.
@MaximumCode2 жыл бұрын
Here is a link to the video without music. kzbin.info/www/bejne/pn2yg397bdSeaLM
@jaskaranpreetsingh68592 жыл бұрын
Thank you bro. This video really helped me to solve the major production issue. Do you mind sharing the sample code if possible? Anyway Thank you and keep it up.
@MaximumCode2 жыл бұрын
Yeah, I will look this weekend and see if it's still somewhere in my hard drive.
@MaximumCode2 жыл бұрын
Here is the code: I haven't it as it was in the last session of the video with all the images in the bin. Good luck. github.com/MaxAkbar/SkiaSharpTutorial
@jaskaranpreetsingh68592 жыл бұрын
@@MaximumCode appreciate reply and thank you very much ☺️
@thinkingbacon2 жыл бұрын
Didn't work
@MaximumCode2 жыл бұрын
Hi @thinkingbacon, what didn't work for you? Are you stuck?
@adanramos48312 жыл бұрын
Hi there. I can`t find the previous chapter of this video. Thanks in advance
@MaximumCode2 жыл бұрын
It's part of a Playlist: kzbin.info/www/bejne/fqfMlJ6jlJuUf6c
@happybehappy94192 жыл бұрын
Hi Sir, I have to Transform an input XML by adding a different XML structure I already have inside an API and send to downstream. Ie. Input XML elements will be placed inside different nodes of my XML Structure. which method will be efficient? XSLT method or creating a new XML using XMLWriter and add the elements one by one? Will there be any issue if count of inputs high?
@MaximumCode2 жыл бұрын
Hi happy, I would use XSLT, but it depends on a lot of variation. The main reason I would use XSLT is that my code doesn't need to change. Also, your XSLT can be executed in any environment in any language but that is a small thing. I hope this helps but as always use your best judgment and do performance testing if that is the main reason for doing the transformation. Best of luck.
@happybehappy94192 жыл бұрын
Thank you for your quick response.
@MaximumCode2 жыл бұрын
@@happybehappy9419You are welcome.
@alainreverchon60462 жыл бұрын
Why this horrible music?!
@MaximumCode2 жыл бұрын
That was the early days of this channel, and I have completely cut the music. Sorry for the annoyance.
@dathunk97162 жыл бұрын
Thank you a lot for this video, it inspired me to start coding again!!!
@MaximumCode2 жыл бұрын
You are very welcome and happy coding 😁👍🎉
@alfredzheng73072 жыл бұрын
Can you do one for python>
@MaximumCode2 жыл бұрын
Are you asking for a python tutorial or doing this video with python as the language?
@alfredzheng73072 жыл бұрын
@@MaximumCode Doing this video with python.
@MaximumCode2 жыл бұрын
I will work on it and will be out for the next video :).
@alfredzheng73072 жыл бұрын
@@MaximumCode Thanks
@MaximumCode2 жыл бұрын
You can find the python migration of the C# game here: kzbin.info/www/bejne/jGqynXuOd5qJp68
@kiPROBRos2 жыл бұрын
Thanks for tutorial.
@ginabowman49072 жыл бұрын
🤔 P*R*O*M*O*S*M!!!
@pavelkravchenko28102 жыл бұрын
Looking Forward for Part 2. Skiasharp replacing Drawing today and work cross platform
@MaximumCode2 жыл бұрын
Finishing a tutorial currently and then I will work on that one next.
@pavelkravchenko28102 жыл бұрын
@@MaximumCode thank you))
@fabianrigo41683 жыл бұрын
how can this have almost 3k views, but only 23 likes?? Underrated video. Thanks for actually explaining what you are doing instead of playing Allan Walker Music over a Timelapse. Pleas consider making a seperate video about converting images. Your example doesnt work for me.
@MaximumCode3 жыл бұрын
Hi Fabian, can you point out the examples that didn't work for you? What version of .NET and what OS are you running? I can look at it for you.
@fabianrigo41683 жыл бұрын
@@MaximumCode Hey, thx for the reply. I've tryed to Image.fromFile and then save it like shown in your video. I also tryed to get it going with the encoder stuff, but i allways get a "invalid Parameter" exception when trying to save the image in the new format. Note that this error only happens with .png's as far as i can see. It is entirely possible that im just missing something obvius cause i dont have much experience in c# yet. Im on Win 10 64x and .Net Core 5 btw.
@MaximumCode3 жыл бұрын
@@fabianrigo4168 The following code should work for you: Bitmap image = (Bitmap)Image.FromFile(@"your_image_path.gif"); image.Save(@"your_image_path.png", ImageFormat.Png); If you are getting an error, then run the following code to make sure you have the Png encoder. foreach (ImageCodecInfo item in ImageCodecInfo.GetImageEncoders()) { Console.WriteLine(item.MimeType); } The above code should produce a line like "image/png". If you are still getting an error post your code and let me take a look.
@fabianrigo41683 жыл бұрын
@@MaximumCode thx buddy. I will try it when im back at work.
@fabianrigo41682 жыл бұрын
@@MaximumCode ok, i've tryed it. First of all, there was a bit of a misunderstading here. Im trying to get .tiff from any other format, not the other way around. Your code seems to work when i format anything from .tiff, but it instantly crashes when trying to load, for example a pdf, as bitmap. It says "out of memory" (it is using like 100mb, so im sure the errormessage is just bullshit.). Any idea?
@notgoodinprogramming90423 жыл бұрын
Little Confuse about the "out" reserved keyword, what does it do? can you give an example like real life example? i find it easier to understand everything in coding when someone uses a real life example xD Edit: Giving a real life example might help a lot of new programmers imo, just suggesting xD
@MaximumCode3 жыл бұрын
Let's say you want to build an app like google. The user enters keyword search, and you show the results. However, you also want to ascertain how many pages and buttons to navigate to the pages. A function\method can only return the search results, so how do you get back the total count of the search. In this scenario, you can use an out parameter to get the total search count. Basically, when you want to return more than one result from a function\method you can use out keyword.
@pinielchitare92213 жыл бұрын
Thanks Max for taking your time preparing these C# tutorials for us
@MaximumCode3 жыл бұрын
You are welcome and thank you for your support.
@faguolvlv3 жыл бұрын
Really what I was looking for. Thanks
@itstudy60313 жыл бұрын
can you demonstrate other games. Such as Five in a Row and Othello
@MaximumCode3 жыл бұрын
Yup, I will look into that and hopefully get something out.
@MaximumCode3 жыл бұрын
So I read up on five-in-a-row and will be the next video. It looks like we can use the same code as Tic Tac Toe.
@xaiga293 жыл бұрын
I was really hoping this series would help me build an interface for a SQL DB, but it's really hard to follow. You seem to jump around a lot and it's like you're narrating to keep up with what you recorded previously or someone else did, or maybe it's just the nature of the project. Maybe you could do shorter - more focused - videos for each topic? Best of luck
@MaximumCode3 жыл бұрын
Which area would you like to see details on?
@MaximumCode3 жыл бұрын
Take a look at what Microsoft did for the Enterprise Library on Data Access. The project is retired but it should give you some ideas. Hope this helps. docs.microsoft.com/en-us/previous-versions/msp-n-p/ff648951(v=pandp.10)?redirectedfrom=MSDN
@xaiga293 жыл бұрын
@@MaximumCode It's hard to say. I think part of my problem is that I have little experience with SQL and my employer has asked me write an interface for a DB because I'm going to school for a software engineering degree. I'll give it another try using Docker instead of the massive DB I'm currently trying to work with. Sorry I couldn't be more helpful
@xaiga293 жыл бұрын
@@MaximumCode Thanks!
@MaximumCode3 жыл бұрын
@@xaiga29 I can definitely try and help you if you like. That said when you say interface do you mean building a database schema for your product or a generic interface to access the database or both? Also, I take it we are talking about MS SQL Server?
@xaiga293 жыл бұрын
Edit for future viewers: Use Data.SqlClient, NOT Data.Sqlite.Core. He realized later that he installed the wrong package.