<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Python on Jason Haley</title>
    <link>https://jasonhaley.com/tags/python/</link>
    <description>Recent content in Python on Jason Haley</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <managingEditor>info@jasonhaley.com (Jason Haley)</managingEditor>
    <webMaster>info@jasonhaley.com (Jason Haley)</webMaster>
    <lastBuildDate>Sun, 19 Jan 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://jasonhaley.com/tags/python/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>An AZD Template for a Chainlit Azure Container App</title>
      <link>https://jasonhaley.com/2025/01/19/chainlit-openai-containerapps-template/</link>
      <pubDate>Sun, 19 Jan 2025 00:00:00 +0000</pubDate>
      <author>info@jasonhaley.com (Jason Haley)</author>
      <dc:creator>Jason Haley</dc:creator>
      <guid>https://jasonhaley.com/2025/01/19/chainlit-openai-containerapps-template/</guid>
      <description>&lt;h1 id=&#34;an-azd-template-for-a-chainlit-azure-container-app&#34;&gt;An AZD Template for a Chainlit Azure Container App&lt;/h1&gt;&#xA;&lt;p&gt;Late last year I was looking for an AZD template that uses &lt;a href=&#34;https://docs.chainlit.io/get-started/overview&#34;&gt;Chainlit&lt;/a&gt; for a UI application and deploys to &lt;a href=&#34;https://learn.microsoft.com/en-us/azure/container-apps/overview&#34;&gt;Azure Container Apps&lt;/a&gt;, but couldn&amp;rsquo;t find one &amp;hellip; so now I&amp;rsquo;m working on building one.&lt;/p&gt;&#xA;&lt;h2 id=&#34;chainlit-openai-assistantsapi-azure-container-apps-starter&#34;&gt;Chainlit OpenAI AssistantsAPI Azure Container Apps Starter&lt;/h2&gt;&#xA;&lt;p&gt;This is a starter template that works with &lt;a href=&#34;https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/overview?tabs=windows&#34;&gt;Azure Developer CLI (AZD)&lt;/a&gt; to create a Chainlit application and deploy it to Azure in a matter of minutes. The application code currently uses OpenAI and OpenAI Assistants API - I&amp;rsquo;m working on adding more functionality to it soon.&lt;/p&gt;</description>
      <category>AI</category><category>Assistants API</category><category>AZD</category><category>Chainlit</category><category>Container Apps</category><category>Learning</category><category>OpenAI</category><category>Python</category>
    </item>
    <item>
      <title>eShopSupport Series: Python Inference Project</title>
      <link>https://jasonhaley.com/2024/10/12/eshopsupport-pythoninference/</link>
      <pubDate>Sat, 12 Oct 2024 00:00:00 +0000</pubDate>
      <author>info@jasonhaley.com (Jason Haley)</author>
      <dc:creator>Jason Haley</dc:creator>
      <guid>https://jasonhaley.com/2024/10/12/eshopsupport-pythoninference/</guid>
      <description>&lt;p&gt;This is the fifth part of the &lt;a href=&#34;https://jasonhaley.com/2024/08/23/introducing-eshopsupport-series/&#34;&gt;eShopSupport Series&lt;/a&gt; which covers the details of the &lt;a href=&#34;https://github.com/dotnet/eshopsupport&#34;&gt;eShopSupport&lt;/a&gt; GitHub repository.&lt;/p&gt;&#xA;&lt;h1 id=&#34;pythoninference-project&#34;&gt;PythonInference Project&lt;/h1&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://github.com/dotnet/eShopSupport/tree/main/src/PythonInference&#34;&gt;PythonInference&lt;/a&gt; Project is a python project that provides a web API to classify the case type when a new customer support ticket is entered in the system. It does this by passing the user&amp;rsquo;s comment to the API, which uses a local model from Hugging Face (&lt;a href=&#34;https://huggingface.co/cross-encoder/nli-MiniLM2-L6-H768&#34;&gt;cross-encoder/nli-MiniLM2-L6-H768&lt;/a&gt;) to classify the text.&lt;/p&gt;&#xA;&lt;p&gt;&#xD;&#xA;  &lt;img src=&#34;https://jasonhaley.com/img/2024-10-12_img1.jpg&#34; alt=&#34;Case Type Dropdown&#34;&gt;&#xD;&#xA;&#xD;&#xA;&lt;/p&gt;</description>
      <category>AI</category><category>Azure</category><category>eShopSupport Series</category><category>Learning</category><category>Python</category>
    </item>
  </channel>
</rss>