<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Openai on Strathweb. A free flowing tech monologue.</title>
    <link>https://www.strathweb.com/categories/openai/</link>
    <description>Recent content in Openai on Strathweb. A free flowing tech monologue.</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 24 Mar 2025 07:06:14 +0000</lastBuildDate><atom:link href="https://www.strathweb.com/categories/openai/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Using o-series Reasoning Models in PromptFlow</title>
      <link>https://www.strathweb.com/2025/03/using-o-series-reasoning-models-in-promptflow/</link>
      <pubDate>Mon, 24 Mar 2025 07:06:14 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2025/03/using-o-series-reasoning-models-in-promptflow/</guid>
      <description>&lt;p&gt;If you have tried to use the OpenAI o-series reasoning models, such as &lt;a href=&#34;https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/reasoning?tabs=python-secure&#34;&gt;o1 or o3&lt;/a&gt;, with &lt;a href=&#34;https://microsoft.github.io/promptflow/&#34;&gt;PromptFlow&lt;/a&gt; recently, you certainly ran into a nasty surprise. While PromptFlow supports a wide range of models and providers, the o-series models are not among them. This is of course quite a shame, especially if you&amp;rsquo;d like to benchmark or evaluate your flows against those models.&lt;/p&gt;
&lt;p&gt;In this short post, we will look at a workaround.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>How GPT-4o-mini can be simultaneously 20x cheaper and 2x more expensive than GPT-4o</title>
      <link>https://www.strathweb.com/2024/10/how-gpt-4o-mini-can-be-simultaneously-20x-cheaper-and-2x-more-expensive-than-gpt-4o/</link>
      <pubDate>Fri, 25 Oct 2024 07:06:14 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2024/10/how-gpt-4o-mini-can-be-simultaneously-20x-cheaper-and-2x-more-expensive-than-gpt-4o/</guid>
      <description>&lt;p&gt;GPT-4o-mini is the small, cost-effective version of the GPT-4o model. It is a great default choice for developers who want a very capable and fast model, but don&amp;rsquo;t need the full power of the GPT-4o model. However, there are some important things to keep in mind when using GPT-4o-mini, especially when it comes to pricing - some of which is rather contradictory!&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Speech-based retrieval augmented generation (RAG) with GPT-4o Realtime API</title>
      <link>https://www.strathweb.com/2024/10/speech-based-retrieval-augmented-generation-with-gpt-realtime-api/</link>
      <pubDate>Mon, 14 Oct 2024 07:06:14 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2024/10/speech-based-retrieval-augmented-generation-with-gpt-realtime-api/</guid>
      <description>&lt;p&gt;On October 1st, &lt;a href=&#34;https://learn.microsoft.com/en-us/azure/ai-services/openai/realtime-audio-quickstart?pivots=programming-language-javascript&#34;&gt;OpenAI&lt;/a&gt; and &lt;a href=&#34;https://openai.com/index/introducing-the-realtime-api/&#34;&gt;Microsoft&lt;/a&gt; (Azure OpenAI) announced the availability of the GPT-4o Realtime API for speech and audio. It is a new, innovative way of interacting with the GPT-4o model family, the provides a &amp;ldquo;speech in, speech out&amp;rdquo; conversational interface. Contrary to traditional text-based APIs, the Realtime API allows sending the audio input directly to the model, and receiving the audio output back. This is a significant improvement over the existing solutions to voice-enabled assistants, which required converting the audio to text first, and then converting the text back to audio. The Realtime API is currently in preview, and the SDKs for various languages have mixed-level of support for them, but it is already possible to build exciting new applications with it.&lt;/p&gt;
&lt;p&gt;The low-latency speech-based interface also poses some challenges to established AI architectural patterns, such as &lt;a href=&#34;https://www.strathweb.com/2023/11/using-your-own-data-with-gpt-models-in-azure-openai-part-1/&#34;&gt;Retrieval-Augmented Generation (RAG)&lt;/a&gt; - and today we will tackle just that, and have a look at a small sample realtime-voice RAG app in .NET.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Tool Calling with Azure OpenAI - Part 2: Using the tools directly via the SDK</title>
      <link>https://www.strathweb.com/2024/04/function-calling-with-azure-openai-part-2/</link>
      <pubDate>Fri, 19 Apr 2024 07:06:14 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2024/04/function-calling-with-azure-openai-part-2/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://www.strathweb.com/2024/04/function-calling-with-azure-openai-part-1&#34;&gt;Last time around&lt;/a&gt;, we discussed how Large Language Models can select the appropriate tool and its required parameters out of freely flowing conversation text. We also introduced the formal concept of those tools, which are structurally described using an &lt;a href=&#34;https://swagger.io/docs/specification/data-models/&#34;&gt;OpenAPI schema&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In this part 2 of the series, we are going to build two different .NET command line assistant applications, both taking advantage of the tool calling integration. We will orchestrate everything by hand - that is, we will only use the Azure OpenAI Service API directly (or rather using the .NET SDK for Azure OpenAI) - without any additional AI frameworks.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Tool Calling with Azure OpenAI - Part 1: The Basics</title>
      <link>https://www.strathweb.com/2024/04/function-calling-with-azure-openai-part-1/</link>
      <pubDate>Thu, 04 Apr 2024 07:06:14 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2024/04/function-calling-with-azure-openai-part-1/</guid>
      <description>&lt;p&gt;One of the fantastic capabilities of the Large Language Models is their ability to choose (based on a predefined set of tool definitions) the appropriate tool and its required parameters out of freely flowing conversation text. With that, they can act as facilitators of workflow orchestration, where they would instruct applications to invoke specific tools, with specific set of arguments.&lt;/p&gt;
&lt;p&gt;OpenAI announced the built-in capability called &lt;a href=&#34;https://openai.com/blog/function-calling-and-other-api-updates&#34;&gt;function calling&lt;/a&gt; in the summer of last year, and by now it is an integral part of working with and building applications on top of the GPT models. The functionality was later renamed in the &lt;a href=&#34;https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#example-response-2&#34;&gt;API&lt;/a&gt; to &amp;ldquo;tools&amp;rdquo;, to better express their broad scope and nature.&lt;/p&gt;
&lt;p&gt;Today I am starting a new multi-post Azure OpenAI blog series focusing specifically on the tool capabilities. We will build a client application with .NET, and explore tool integration from different angles - using the &lt;a href=&#34;https://www.nuget.org/packages/Azure.AI.OpenAI/&#34;&gt;Azure OpenAI .NET SDK&lt;/a&gt; directly, using the &lt;a href=&#34;https://www.nuget.org/packages/Azure.AI.OpenAI.Assistants/&#34;&gt;Assistants SDK&lt;/a&gt; and finally leveraging various orchestration frameworks such as &lt;a href=&#34;https://github.com/microsoft/semantic-kernel&#34;&gt;Semantic Kernel&lt;/a&gt; and &lt;a href=&#34;https://github.com/microsoft/autogen&#34;&gt;AutoGen&lt;/a&gt;. In today&amp;rsquo;s part one, we are going to introduce the basic concepts behind tool calling.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Combining Azure OpenAI with Azure AI Speech</title>
      <link>https://www.strathweb.com/2024/03/combining-azure-openai-with-azure-ai-speech/</link>
      <pubDate>Fri, 08 Mar 2024 07:06:14 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2024/03/combining-azure-openai-with-azure-ai-speech/</guid>
      <description>&lt;p&gt;In my &lt;a href=&#34;https://www.strathweb.com/categories/openai/&#34;&gt;recent posts&lt;/a&gt;, I&amp;rsquo;ve been exploring various facets of the &lt;a href=&#34;https://azure.microsoft.com/en-us/products/ai-services/openai-service&#34;&gt;Azure OpenAI Service&lt;/a&gt;, discussing how it can power up our applications with AI. Today, I&amp;rsquo;m taking a slightly different angle - I want to dive into how we can enhance our projects further by integrating Azure OpenAI Service with &lt;a href=&#34;https://azure.microsoft.com/en-us/products/ai-services/ai-speech&#34;&gt;Azure AI Speech&lt;/a&gt;. Let&amp;rsquo;s explore what this integration means and how it could lead to exciting, AI-powered applications.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Using your own data with GPT models in Azure OpenAI - Part 4: Adding vector search</title>
      <link>https://www.strathweb.com/2024/02/using-your-own-data-with-gpt-models-in-azure-openai-part-4/</link>
      <pubDate>Fri, 23 Feb 2024 07:06:14 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2024/02/using-your-own-data-with-gpt-models-in-azure-openai-part-4/</guid>
      <description>&lt;p&gt;For our Retrieval-Augmented-Generation (RAG) application, we setup AI Search in &lt;a href=&#34;https://www.strathweb.com/2023/11/using-your-own-data-with-gpt-models-in-azure-openai-part-1&#34;&gt;part 1&lt;/a&gt;, however so far we only used it using the basic keyword search.&lt;/p&gt;
&lt;p&gt;In this part 4 of the series about bringing your own data to Azure OpenAI Service, we will go ahead and integrate vector search, as a more sophisticated way of performing the search across the Azure AI Search index within our RAG-pattern system.&lt;/p&gt;
&lt;p&gt;I already covered &lt;a href=&#34;https://www.strathweb.com/2023/09/using-embeddings-model-with-azure-openai&#34;&gt;vectorization and embeddings&lt;/a&gt; using the OpenAI embedding model on this blog, and we will be relying on the same principles here. I recommend reading through that article before continuing if you are not yet familiar with the concept of embeddings.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Using your own data with GPT models in Azure OpenAI - Part 3: Calling Azure OpenAI Service via .NET SDK</title>
      <link>https://www.strathweb.com/2023/12/using-your-own-data-with-gpt-models-in-azure-openai-part-3/</link>
      <pubDate>Mon, 18 Dec 2023 07:06:14 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2023/12/using-your-own-data-with-gpt-models-in-azure-openai-part-3/</guid>
      <description>&lt;p&gt;In the &lt;a href=&#34;https://www.strathweb.com/2023/11/using-your-own-data-with-gpt-models-in-azure-openai-part-2&#34;&gt;last post&lt;/a&gt; of this series we set up a demo .NET client application that was able to call and utilize a GPT model hosted in Azure OpenAI Service, which in turn was integrated with our own custom data via Azure AI Search. We did this using the bare bones REST API - and in part three, it&amp;rsquo;s time to shift gears and explore how to accomplish similar task using the .NET SDK, which offers a more streamlined and less ceremonious approach over calling the HTTP endpoints directly.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Using your own data with GPT models in Azure OpenAI - Part 2: Calling Azure OpenAI Service via REST API</title>
      <link>https://www.strathweb.com/2023/11/using-your-own-data-with-gpt-models-in-azure-openai-part-2/</link>
      <pubDate>Fri, 24 Nov 2023 07:06:14 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2023/11/using-your-own-data-with-gpt-models-in-azure-openai-part-2/</guid>
      <description>&lt;p&gt;In the &lt;a href=&#34;https://www.strathweb.com/2023/11/using-your-own-data-with-gpt-models-in-azure-openai-part-1&#34;&gt;previous part&lt;/a&gt; of this series, we have successfully set up &lt;a href=&#34;https://azure.microsoft.com/en-us/products/ai-services/openai-service&#34;&gt;Azure AI Search&lt;/a&gt;, to have it ready for integration with &lt;a href=&#34;https://azure.microsoft.com/en-us/products/ai-services/cognitive-search&#34;&gt;Azure OpenAI Service&lt;/a&gt;. The ultimate goal is to take advantage of the retrieval-augmented-generation pattern, and enhancing our interactions with the GPT model with our own custom data.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s continue building this today.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Using your own data with GPT models in Azure OpenAI - Part 1: Setting up Azure AI Search</title>
      <link>https://www.strathweb.com/2023/11/using-your-own-data-with-gpt-models-in-azure-openai-part-1/</link>
      <pubDate>Fri, 10 Nov 2023 07:06:14 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2023/11/using-your-own-data-with-gpt-models-in-azure-openai-part-1/</guid>
      <description>&lt;p&gt;There is no question that the emergence of generative AI is going to significantly alter various aspects of our daily lives. At the same time, most of the large language models (LLMs) are designed as general-purpose black boxes and their utility is initially confined to the data they were trained on. However, it is possible to extend their functionality and reasoning to any custom data set, be it private or public, even without the massive effort that would be needed to retrain or even fine-tune them.&lt;/p&gt;
&lt;p&gt;We are going to start exploring that concept today with a multi-part post series on &amp;ldquo;bringing your own data&amp;rdquo; to Azure OpenAI. In part one today, we will set up the necessary Azure resources and prepare the stage for a client application integration, which will follow in parts two and further.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Using embeddings model with Azure OpenAI Service</title>
      <link>https://www.strathweb.com/2023/09/using-embeddings-model-with-azure-openai/</link>
      <pubDate>Wed, 13 Sep 2023 07:00:14 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2023/09/using-embeddings-model-with-azure-openai/</guid>
      <description>&lt;p&gt;I recently &lt;a href=&#34;https://www.strathweb.com/2023/04/building-gpt-powered-applications-with-azure-openai-service/&#34;&gt;blogged&lt;/a&gt; about building GPT-powered applications with &lt;a href=&#34;https://azure.microsoft.com/en-us/products/ai-services/openai-service&#34;&gt;Azure OpenAI Service&lt;/a&gt;. In that post, we looked at using the &lt;em&gt;text-davinci-003&lt;/em&gt; model to provide classification capabilities for natural text - more specifically, we categorized and rated scientific papers based on the interest area (note that the recommended model for this task now is &lt;em&gt;gpt-35-turbo&lt;/em&gt; now).&lt;/p&gt;
&lt;p&gt;In today&amp;rsquo;s post we are going to continue exploring Azure OpenAI Service, this time looking at the embeddings model, &lt;em&gt;text-embedding-ada-002&lt;/em&gt;.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Building GPT powered applications with Azure OpenAI Service</title>
      <link>https://www.strathweb.com/2023/04/building-gpt-powered-applications-with-azure-openai-service/</link>
      <pubDate>Wed, 26 Apr 2023 10:06:14 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2023/04/building-gpt-powered-applications-with-azure-openai-service/</guid>
      <description>In this post we will have a look at how we can utilize Azure OpenAI Service to build applications using various OpenAI models. At the high level, Azure OpenAI allows accessing GPT-4, GPT-3, Codex and Embeddings models using the security boundary of Azure, and while ensuring data privacy and residency and conforming to other common enterprise requirements such as private networking.
In other words, it addresses one of the biggest worries of integrating AI services into own applications - the data is never shared with OpenAI.</description>
    </item>
    
  </channel>
</rss>
