<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AdvancedFeatures on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/advancedfeatures/</link><description>Recent content in AdvancedFeatures on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 08 Nov 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/advancedfeatures/index.xml" rel="self" type="application/rss+xml"/><item><title>Advanced LangCache Features and Optimization</title><link>https://ai-blog.noorshomelab.dev/redis-langcache-guide/advanced-langcache-features-and-optimization/</link><pubDate>Sat, 08 Nov 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/redis-langcache-guide/advanced-langcache-features-and-optimization/</guid><description>&lt;h2 id="4-advanced-langcache-features-and-optimization"&gt;4. Advanced LangCache Features and Optimization&lt;/h2&gt;
&lt;p&gt;Beyond basic &lt;code&gt;set&lt;/code&gt; and &lt;code&gt;search&lt;/code&gt; operations, Redis LangCache offers several powerful features and configuration options to fine-tune its behavior. Understanding these allows you to optimize cache performance, cost efficiency, and relevance for your specific AI applications.&lt;/p&gt;
&lt;h3 id="41-fine-tuning-similarity-threshold"&gt;4.1 Fine-tuning Similarity Threshold&lt;/h3&gt;
&lt;p&gt;The &lt;code&gt;similarity_threshold&lt;/code&gt; (Python) or &lt;code&gt;similarityThreshold&lt;/code&gt; (Node.js) parameter in the &lt;code&gt;search&lt;/code&gt; method is crucial. It determines how closely a new prompt&amp;rsquo;s embedding must match a cached embedding for it to be considered a &amp;ldquo;hit.&amp;rdquo;&lt;/p&gt;</description></item></channel></rss>