<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Brady Guy Chambers</title>
    <description>The latest articles on DEV Community by Brady Guy Chambers (@bradyguyc).</description>
    <link>https://dev.to/bradyguyc</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1918401%2Fec030a70-6bf8-4104-a668-43def1a06c2f.png</url>
      <title>DEV Community: Brady Guy Chambers</title>
      <link>https://dev.to/bradyguyc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bradyguyc"/>
    <language>en</language>
    <item>
      <title>The importance of release testing &amp; questionable compiler optimizations</title>
      <dc:creator>Brady Guy Chambers</dc:creator>
      <pubDate>Fri, 06 Dec 2024 16:29:59 +0000</pubDate>
      <link>https://dev.to/bradyguyc/the-importance-of-release-testing-questionable-compiler-optimizations-424l</link>
      <guid>https://dev.to/bradyguyc/the-importance-of-release-testing-questionable-compiler-optimizations-424l</guid>
      <description>&lt;p&gt;I ran into a problem with an azure function this week while working on my mobile project MyNextBook and prototyping some Microsoft Azure OpenAI capabilities.  The core code of the function is relatively simple and didn’t take much time at all to knock out.  Getting Azure resource configured correctly took most of the time and then the discovery of compiler optimization error took quite some time to figure out.  After some debugging time with writeline statements I realized that the json being produced was different in release mode.  With a little help from github CoPilot a more detailed explanation explained the problem.&lt;/p&gt;

&lt;p&gt;read more at..&lt;br&gt;
&lt;a href="https://bradyguy.blog/the-importance-of-release-testing-questionable-compiler-optimizations/" rel="noopener noreferrer"&gt;the-importance-of-release-testing-questionable-compiler-optimizations&lt;/a&gt;&lt;/p&gt;

</description>
      <category>csharp</category>
      <category>releaseoptimization</category>
      <category>azurefunctions</category>
      <category>jsonschema</category>
    </item>
    <item>
      <title>Azure OpenAI C# some Learnings</title>
      <dc:creator>Brady Guy Chambers</dc:creator>
      <pubDate>Wed, 20 Nov 2024 21:01:12 +0000</pubDate>
      <link>https://dev.to/bradyguyc/azure-openai-c-some-learnings-10mf</link>
      <guid>https://dev.to/bradyguyc/azure-openai-c-some-learnings-10mf</guid>
      <description>&lt;p&gt;I have shared a detailed practicle example of using Azure OpenAI with REST and the OpenAI SDK at the link below.  Some of the quick learnings are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; Models that don't support standardized_output you pass in either a json schema or an example json document that represents what you want to come out of the model.&lt;/li&gt;
&lt;li&gt;If content filters are triggered you still get a 200, your json is truncated and the response includes a json section that defines the content filtering results.  Note: this is what I observed with the Azure OpenAI hosted models.  Be sure and look at the returned response and parse through the content filter sections.
&lt;/li&gt;
&lt;li&gt;If the model does not support image input an error something like : Error copying to stream is returned.&lt;/li&gt;
&lt;li&gt;structured_output – way cool for the models that support it, if you have a class that you want the model to return the answer in use the CreateJsonSchemaFormat with your class.  Not that many models currently support structured output.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;ChatCompletionOptions options = new ChatCompletionOptions()&lt;br&gt;
{&lt;br&gt;
ResponseFormat = StructuredOutputsExtensions.CreateJsonSchemaFormat&amp;lt;Recipe&amp;gt;(“Recipe”, jsonSchemaIsStrict: true),&lt;br&gt;
MaxOutputTokenCount = 14000,&lt;br&gt;
Temperature = 0.1f,&lt;br&gt;
TopP = 1.0f,&lt;br&gt;
};&lt;/code&gt;&lt;br&gt;
&lt;a href="https://bradyguy.blog/azure-openai-c-sdk-example-learnings-part-1/" rel="noopener noreferrer"&gt;Azure OpenAI C# Learnings&lt;/a&gt;&lt;/p&gt;

</description>
      <category>azure</category>
      <category>openai</category>
      <category>csharp</category>
    </item>
    <item>
      <title>Azure Icons Cheat Sheet</title>
      <dc:creator>Brady Guy Chambers</dc:creator>
      <pubDate>Tue, 19 Nov 2024 15:57:25 +0000</pubDate>
      <link>https://dev.to/bradyguyc/azure-icons-cheat-sheet-1g41</link>
      <guid>https://dev.to/bradyguyc/azure-icons-cheat-sheet-1g41</guid>
      <description>&lt;p&gt;Fellow architects and Azure solutions designers: Microsoft makes available their azure public service icons for download. I could not find a cheat sheet that would allow me to quickly and easily find the icon I was looking for. Find here a pdf version that shows all the icons for quick reference.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://bradyguy.blog/azure-public-service-icons-cheat-sheet" rel="noopener noreferrer"&gt;Azure Icons Cheat Sheet&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
