Run Asp.NET 9 on AWS Elastic Beanstalk and Linux Graviton instances

I鈥檓 in the middle of launching my latest project Sheldon, a live chat service which features embedded live chatting on any website with Ai assistant integration. This project I鈥檝e tried to use the most modern version of .NET available, .NET 9. I鈥檝e also chosen to host my app on AWS using Linux instances and ARM based t4g on top of Elastic Beanstalk. Elastic Beanstalk is not a perfect system, in fact it鈥檚 pretty temperamental to use, however, I am most familiar with it so that鈥檚 the route I鈥檓 going. In the end deploying this setup is actually pretty easy, there are only few gotcha things to adjust. ...

November 25, 2024 路 6 min 路 1189 words 路 Me

Open Ai Assistants Api v2 Function Calls in c# .net

Introduction The world of Ai software development is moving faster than most of us can build a product using it. The Open AI SDK is already on V2 for the Assistants API. Although the documentation isn鈥檛 bad there is a shortage of examples in c#. Even ChatGPT doesn鈥檛 quite know how to use the .net Open AI SDK properly. Interacting with Functions The Open Ai Assistants API is pretty well thought out, although, perhaps a bit over engineered. The idea of functions is that the model will determine when to call the function. Once this occurs you must intercept the call in the pooling loop and determine which function to call. ...

November 10, 2024 路 4 min 路 801 words 路 Me