<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>LLM on Brian Carroll</title><link>https://briancarroll.cool/tags/llm/</link><description>Recent content in LLM on Brian Carroll</description><generator>Hugo -- 0.147.6</generator><language>en-us</language><lastBuildDate>Fri, 08 Nov 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://briancarroll.cool/tags/llm/index.xml" rel="self" type="application/rss+xml"/><item><title>Mysterious Langchain Azure OpenAI Problems</title><link>https://briancarroll.cool/blog/mysterious-langchain-azure-openai-problems/</link><pubDate>Fri, 08 Nov 2024 00:00:00 +0000</pubDate><guid>https://briancarroll.cool/blog/mysterious-langchain-azure-openai-problems/</guid><description>&lt;p>I was banging my head on this problem for hours. Using langchain and our Azure OpenAI model, I kept getting a Value error:&lt;/p>
&lt;pre tabindex="0">&lt;code>As of openai&amp;gt;=1.0.0, Azure endpoints should be specified via the
`azure_endpoint` param not `openai_api_base` (or alias `base_url`).
&lt;/code>&lt;/pre>&lt;p>I was not defining &lt;code>openai_api_base&lt;/code> anywhere in my code. LLMs were no use but I did find the suggestion on Reddit to check if &lt;code>openai_api_base&lt;/code> was an environment variable.&lt;/p>
&lt;p>Sure enough, I had defined that months ago, never used it, and forgot it. Deleted the variable and problem solved.&lt;/p></description></item><item><title>LLM-assisted Active Directory Search</title><link>https://briancarroll.cool/blog/llm-assisted-active-directory-search/</link><pubDate>Fri, 27 Sep 2024 00:00:00 +0000</pubDate><guid>https://briancarroll.cool/blog/llm-assisted-active-directory-search/</guid><description>&lt;p>I needed to check Active Directory (AD) to see who was part of a group. I use AD infrequently and keep a list of queries in a text file on my desktop, as I can’t ever remember the syntax.&lt;/p>
&lt;p>As I opened my list I thought&amp;hellip;wait, I don’t ever have to do this again. Let’s write a program to take a natural language prompt and have our LLM figure out the PowerShell commands. Within 30 minutes I had a functional program. It took several small iterations and these are the prompts I used. Unfortunately, I can’t share the program.&lt;/p></description></item><item><title>I was going to write a post but ...</title><link>https://briancarroll.cool/blog/i-was-going-to-write-a-post-but/</link><pubDate>Tue, 24 Sep 2024 00:00:00 +0000</pubDate><guid>https://briancarroll.cool/blog/i-was-going-to-write-a-post-but/</guid><description>&lt;p>Simon Willison beat me to it. &lt;a href="https://simonwillison.net/2024/Sep/20/using-llms-for-code/">This&lt;/a> sums up my experience coding with LLMs. I love it. For a brief amount of time I worried about it making me a lazy programmer but it isn&amp;rsquo;t. Asking the LLM about the code it writes is a far better way to learn than copying code out of a book and hoping the author could explain it.&lt;/p></description></item></channel></rss>