<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>ai on Vchord</title>
    <link>https://vchord.pgsty.com/tags/ai/</link>
    <description>Recent content in ai on Vchord</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    
    
    
      <lastBuildDate>Mon, 02 Nov 2026 19:35:19 +0800</lastBuildDate>
    
    
      <atom:link href="https://vchord.pgsty.com/tags/ai/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
        <title>Building LLM Applications in LangChain using  pgvecto.rs</title>
        <link>https://vchord.pgsty.com/blog/post/building-llm-applications-in-langchain-using-pgvectors/</link>
        <pubDate>Fri, 08 Mar 2024 00:00:00 +0000</pubDate>
        
        <guid>https://vchord.pgsty.com/blog/post/building-llm-applications-in-langchain-using-pgvectors/</guid>
        <description>&lt;p&gt;&lt;strong&gt;LangChain&lt;/strong&gt; is a framework for developing applications powered by language models. It enables applications that:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;strong&gt;Are context-aware&lt;/strong&gt;: connect a language model to sources of context (prompt instructions, few shot examples, content to ground its response in, etc.)&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;strong&gt;Reason&lt;/strong&gt;: rely on a language model to reason (about how to answer based on provided context, what actions to take, etc.)&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://vchord.pgsty.com/pgvecto-rs/&#34;&gt;pgvecto.rs&lt;/a&gt; is a vector search extension in Postgres. In this blog post, we&amp;rsquo;ll show you how to build LLM applications with LangChain and pgvecto.rs.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Building the RAG pipeline with LlamaIndex and pgvecto.rs</title>
        <link>https://vchord.pgsty.com/blog/post/building-the-rag-pipeline-with-llamaindex-and-pgvectors/</link>
        <pubDate>Fri, 08 Mar 2024 00:00:00 +0000</pubDate>
        
        <guid>https://vchord.pgsty.com/blog/post/building-the-rag-pipeline-with-llamaindex-and-pgvectors/</guid>
        <description>&lt;p&gt;LlamaIndex is a simple, flexible data framework for connecting custom data sources to large language models (LLMs).&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://vchord.pgsty.com/pgvecto-rs/&#34;&gt;&lt;code&gt;pgvecto.rs&lt;/code&gt;&lt;/a&gt; provides a LlamaIndex integration that allows you to retrieve the most similar vectors. In this blog post, we will show you how to build a RAG pipeline with pgvecto.rs and LlamaIndex.&lt;/p&gt;&#xA;&lt;h2 id=&#34;install-dependencies&#34;&gt;&lt;strong&gt;Install dependencies&lt;/strong&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Some dependencies are required to use the LlamaIndex integration:&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-03663433-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;bash&#34; data-td-line-count=&#34;1&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-03663433-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pip install llama-index &lt;span class=&#34;s2&#34;&gt;&amp;#34;pgvecto_rs[sdk]&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;You could start the Postgres instance with &lt;code&gt;pgvecto.rs&lt;/code&gt; extension in a docker container:&lt;/p&gt;</description>
      </item>
    <item>
        <title>Do we really need a specialized vector database?</title>
        <link>https://vchord.pgsty.com/blog/post/do-we-really-need-a-specialized-vector-database/</link>
        <pubDate>Fri, 08 Mar 2024 00:00:00 +0000</pubDate>
        
        <guid>https://vchord.pgsty.com/blog/post/do-we-really-need-a-specialized-vector-database/</guid>
        <description>&lt;p&gt;With the popularity of LLM (Large Language Model), vector databases have also become a hot topic. With just a few lines of simple Python code, a vector database can act as a cheap but highly effective &amp;ldquo;external brain&amp;rdquo; for your LLM. But do we really need a specialized vector database?&lt;/p&gt;&#xA;&lt;h2 id=&#34;why-does-llm-need-vector-search&#34;&gt;&lt;strong&gt;Why does LLM need vector search?&lt;/strong&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;First, let me briefly introduce why LLM needs to use vector search technology. Vector search is a problem that has been around for a long time. The process of finding the most similar object in a collection given an object is vector search. Text/images, etc. can be converted into a vector representation, and the similarity problem of text/images can be transformed into a vector similarity problem.&lt;/p&gt;</description>
      </item>
    
  </channel>
</rss>
