-
#SemanticKernel: Local LLMs Unleashed on #RaspberryPi 5
Hi! Welcome to the exciting world of local Large Language Models (LLMs) where weโre pushing the boundaries of whatโs possible with AI. Today let’s talk about a cool topic: run models locally, especially on devices like the Raspberry Pi 5. Letโs dive into the future of AI, right in our own backyards. Ollama and using… โ read more
-
๐ Extending #SemanticKernel using OllamaSharp for chat and text completion
Hi! In previous posts I shared how to host and chat with a Llama 2 model hosted locally with Ollama. (view post). And then I also found OllamaSharp (nuget package and repo). OllamaSharp is a .NET binding for the Ollama API, making it easy to interact with Ollama using your favorite .NET languages. So, I… โ read more
-
How to Use #SemanticKernel, Plugins โ 2/N
Hi! In the previous posts we learned how to create a simple Semantic Kernel Chat Application Today we will switch a little the interaction with the AI Models, instead of a chat conversation, we will use Plugins. Plugins Let’s start with the PlugIn definition thanks to Microsoft Copilot: A plugin is a unit of functionality… โ read more
-
How to Use #SemanticKernel with OpenAI and Azure OpenAI in C# – 1/N
Hi! Today I’m starting a series of posts to describe an “easy way to use” AI Services with Semantic Kernel. I’m a fan of code, so I’ll focus mostly on code samples. Semantic Kernel (via Copilot) Semantic Kernel is a powerful tool that allows developers to integrate cutting-edge language models into their applications with ease.… โ read more
-
#SemanticKernel โ ๐Chat Service demo running Llama2 LLM locally in Ubuntu
Hi! Today’s post is a demo on how to interact with a local LLM using Semantic Kernel. In my previous post, I wrote about how to use LM Studio to host a local server. Today we will use ollama in Ubuntu to host the LLM. Ollama Ollama is an open-source language model platform designed for… โ read more
-
#SemanticKernel – ๐Chat Service demo running Phi-2 LLM locally with #LMStudio
Hi! It’s time to go back to AI and NET, so today’s post is a small demo on how to run a LLM (large language model, this demo using Phi-2) in local mode, and how to interact with the model using Semantic Kernel. LM Studio I’ve tested several products and libraries to run LLMs locally,… โ read more
-
How to control your ๐ drone using #Azure OpenAI or OpenAI APIs and Semantic Kernel
Hi! In my previous post, I wrote about how we can use ChatGPT to generate Python code to control a drone. Today, we are going to use Azure OpenAI Services or OpenAI APIs to generate the same code using GPT models. We are going to use the same prompt that we had for ChatGPT. Running… โ read more
-
How to control your ๐ drone using #ChatGPT
Hi! I’ve been doing live demos of how to use Azure OpenAI Services or OpenAI APIs to generate code to control the drone, so I think I may write about it to have it public for future references. So, using the base code to send and read drone information, we can create a simple prompt… โ read more
-
My 1st NET #ChatGPT Plugin. Demo Included!
Hi! Plugins are the hottest topics now, for both ChatGPT and Microsoft products like BingChat and Windows Copilot. After learning and testing using Javascript and Python versions, I decided to create one in NET. I even talk several times about it in my podcast (in Spanish). NET Pet Store ChatGPT Plugin Repository And here is… โ read more
-
#Code – ๐Building Plugins for ChatGPT, Microsoft Bing and Edge
Hi! This one was in my top three announcements from Build 2023. We can now build Chat Plugins for Microsoft Bing and Edge. Look at this 10 min intro: Video Summary: Creating Plugins Microsoft isย adopting the same open plugin standardย that OpenAI introduced for ChatGPT, enabling interoperability across ChatGPT and the breadth of Microsoftโs copilot offerings.… โ read more
-
#AzureIoT – RTSP Webcam, add rtsp camera ๐ท capabilities to your Edge Device #JulyOT
Hi ! Today, during my [Let’s setup a Raspberry Pi and a reTerminal as an Azure IoT โ๏ธ device] session, one of the questions was about what cool scenarios we can run once we have a Raspberry Pi as an Azure IoT Edge device. Besides the use of Cognitive Services (only for x64), a cool… โ read more
-
#OpenCV – Convert camera feed ๐ฆ to Grayscale and resalt Blue ๐ต and Red โค๏ธ
Hi ! A new twist on these days demos, this time: Open a camera feed Convert each frame to grayscale Use a hue mask to resalt colors, Blue and Red Here is a live sample from my office. Note: I created a mask that identifies the Captain America shield, SpyderGwen poster and Ahsoka frame, but… โ read more
-
#OpenCV – Replace background with video in camera feed ๐ฆ (Black Adam โก)
Hi ! A new twist on these days demos, based on a request from an online friend. Let’s remove and replace the background from our camera feed using a video. For this demo, I’m using the “Black Adam โ Official Trailer 1“. And the output is kind of funny. Hey, funny scenario, and if you… โ read more
-
#OpenCV – Background Subtraction in a camera feed ๐ฆ using MOG2
Hi ! Yesterday I wrote a post about how to remove the background from my camera feed. To remove the background, I used a python library “cvzone”. While talking with some friends, someone asked about using some of the out-of-the-box features included in OpenCV, like MOG2 or KNN. So I read a little about them… โ read more
-
#OpenCV – Remove the background in your camera feed ๐ฆ
Hi ! Yesterday I share 10 lines of code to adddress this very simple scenario: Load and image and remove the background. Today I’ll add a few extra lines, and I’ll remove the background from my camera feed. It’s fun to see how the Captain America shield was included in the cropped polygon ๐ And… โ read more
-
#OpenCV – 10 lines to remove the background in an image ๐ผ๏ธ
Hi ! Super quick post today, with a very simple scenario: Load and image and remove the background. To do this, I’ll use OpenCV and cvzone. Here we can see a screenshot of my office, and the removed background sample. As usual, the threshold is the important one to manage the quality. And the sample… โ read more
-
#Coding4Fun โ How to control your #drone โ with 20 lines of code! Complete series of posts
Hi ! Iยดm back to have some fun with the DJI Tello Drone and Artificial Intelligence, so letยดs share all my posts about programming the drone. And, as usual, an old video with the core parts of this series: โ read more
-
#Drone ๐ – Detect Squirrels ๐ฟ๏ธ and Space Wolves ๐บ from a drone camera using Python ๐
Hi ! In a couple of hours, I’ll host a session where I show how to control a drone using Python ๐; and also how to access the drone camera and apply AI on top of the camera feed. Python SWFL – Let’s code a drone to follow faces In example, this is the drone… โ read more
-
#OpenCV – How to convert to grayscale and show a single color an image ๐ผ๏ธ using Python ๐
Hi ! Super quick post today with a cool scenario to support my TikTok videos in Spanish (I know ๐): How to convert to grayscale an image and show a single color using python and opencv Here is the output with an original photo from my office and a new image with this effect: Disclaimer:… โ read more
-
#OpenCV – How to add a Pencil Sketch effect to an image ๐ผ๏ธ using Python ๐
Hi ! Super quick post today with a cool scenario to support my TikTok videos in Spanish (I know ๐): How to add a pencil sketch effect to an image using python and opencv Here is the output with an original photo from my office and a new image with the pencil sketch effect: Sample… โ read more