<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AI Infrastructure on 中文AI术语词典</title><link>https://terms-en.ai-term-hub.com/zh/tags/ai-infrastructure/</link><description>Recent content in AI Infrastructure on 中文AI术语词典</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sat, 18 Jul 2026 11:44:45 +0000</lastBuildDate><atom:link href="https://terms-en.ai-term-hub.com/zh/tags/ai-infrastructure/index.xml" rel="self" type="application/rss+xml"/><item><title>向量数据库</title><link>https://terms-en.ai-term-hub.com/zh/terms/vector_database/</link><pubDate>Sat, 18 Jul 2026 10:55:52 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/vector_database/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>向量数据库通过将非结构化数据转换为数值嵌入（embeddings）来优化其存储和检索。它们使用近似最近邻（ANN）等算法，以高效地查找相似性。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>一种专为存储、索引和查询表示数据特征的高维向量而设计的专用数据库。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>嵌入（Embeddings）&lt;/li>
&lt;li>相似度搜索&lt;/li>
&lt;li>高维空间&lt;/li>
&lt;li>ANN 索引&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>文档库中的语义搜索&lt;/li>
&lt;li>图像和音频识别系统&lt;/li>
&lt;li>个性化推荐引擎&lt;/li>
&lt;/ul>
&lt;h2 id="code-example">Code Example&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">import&lt;/span> pinecone
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>pinecone&lt;span style="color:#f92672">.&lt;/span>init(api_key&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#39;...&amp;#39;&lt;/span>, environment&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#39;...&amp;#39;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>index &lt;span style="color:#f92672">=&lt;/span> pinecone&lt;span style="color:#f92672">.&lt;/span>Index(&lt;span style="color:#e6db74">&amp;#39;my-index&amp;#39;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>result &lt;span style="color:#f92672">=&lt;/span> index&lt;span style="color:#f92672">.&lt;/span>query(vector&lt;span style="color:#f92672">=&lt;/span>[&lt;span style="color:#ae81ff">0.1&lt;/span>, &lt;span style="color:#ae81ff">0.2&lt;/span>, &lt;span style="color:#f92672">...&lt;/span>], top_k&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">5&lt;/span>)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/embedding-%E5%B5%8C%E5%85%A5/">Embedding (嵌入)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/neural-network-%E7%A5%9E%E7%BB%8F%E7%BD%91%E7%BB%9C/">Neural Network (神经网络)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/similarity-metric-%E7%9B%B8%E4%BC%BC%E5%BA%A6%E5%BA%A6%E9%87%8F/">Similarity Metric (相似度度量)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/pinecone-pinecone-%E5%90%91%E9%87%8F%E6%95%B0%E6%8D%AE%E5%BA%93/">Pinecone (Pinecone 向量数据库)&lt;/a>&lt;/li>
&lt;/ul></description></item></channel></rss>