Skip to main content

Untitled

· 3 min read
Mark Burton
Software Engineer & Technical Writer

I wanted to understand more about how ChatGPT and Co-Pilots like those from GitHub and Pieces work and how I could do something similar including private content, whilst reading around the topic I read the article Demystifying Retrieval Augmented Generation with .NET and thought it described what I wanted to achieve so decided to follow along. The first challenge I encountered was that Azure OpenAI Service is only available for "eligible customers and partners" which, for my personal projects, I do not qualify. That is not a problem though as Stephan explains in the post it is trivial to switch to OpenAI which offers a free quota of $5 per month. Next issue was that the code examples did not compile, this seems to be because the Semantic Kernel library has moved on from version 0.24 to 1.0.1 since the post was written. Some of the the changes are covered in the post [Saying hello to Microsoft Semantic Kernel V1

Untitled

· One min read
Mark Burton
Software Engineer & Technical Writer

For years I have felt that if you are offering a public API it should be documented well enough for consumers to generate a client library in whatever language they are using, it is almost implausible to create client libraries in all languages your consumers might use, but a good OpenAPI definition allows consumers to understand an API and use tools to generate client libraries. Over the years I have worked with NSwag, which was good but put all the code in 1 file which I didn't like. AutoRest, which seemed to get more difficult to work with when V3 was released, so I looked around again and found OpenAPI Generator, which is great but needs Java. With the release of Kiota I was excited to look at how a dotnet tool could tackle the same requirement. ## What is Kiota? Kiota is a client generator for OpenAPI and was introduced at .NET Conf 2023.

Untitled

· One min read
Mark Burton
Software Engineer & Technical Writer

csharp SAST with Semgrep ### Installation Run sudo apt-get update && sudo apt-get upgrade because it is good for you. https:/semgrep.devdocsgetting-started/ ### The command semgrep scan --config=auto​

Untitled

· One min read
Mark Burton
Software Engineer & Technical Writer

Sourdough Starter

· One min read
Mark Burton
Software Engineer & Technical Writer

Try Hack Me, Password Attacks

· One min read
Mark Burton
Software Engineer & Technical Writer

Try Hack Me, Hacking with PowerShell

· 5 min read
Mark Burton
Software Engineer & Technical Writer