<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Urvesh</title>
    <description>The latest articles on Forem by Urvesh (@urvesh).</description>
    <link>https://forem.com/urvesh</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1604518%2F26ed7f21-eac2-4900-bd4c-7d904eca650f.jpg</url>
      <title>Forem: Urvesh</title>
      <link>https://forem.com/urvesh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/urvesh"/>
    <language>en</language>
    <item>
      <title>Getting an error while importing Langchain Packages</title>
      <dc:creator>Urvesh</dc:creator>
      <pubDate>Wed, 12 Jun 2024 14:41:46 +0000</pubDate>
      <link>https://forem.com/urvesh/getting-an-error-while-importing-langchain-packages-o09</link>
      <guid>https://forem.com/urvesh/getting-an-error-while-importing-langchain-packages-o09</guid>
      <description>&lt;p&gt;I want to create a RAG model for the question answer purpose. I have written the code but Langchain packages are giving an error. The part of the code which gives the error is as below:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;from langchain.text_splitter import RecursiveCharacterTextSplitter&lt;br&gt;
from langchain_community.document_loaders import PyPDFLoader&lt;br&gt;
from langchain_community.vectorstores import Chroma&lt;br&gt;
from langchain.chains import RetrievalQA&lt;br&gt;
from langchain.memory import ConversationSummaryMemory&lt;br&gt;
from langchain_openai import OpenAIEmbeddings&lt;br&gt;
from langchain.prompts import PromptTemplate&lt;br&gt;
from langchain.llms import Ollama&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The error is as below:&lt;br&gt;
&lt;code&gt;TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: 'recursive_guard'&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Please help me solving this error. &lt;/p&gt;

</description>
      <category>help</category>
      <category>llm</category>
      <category>nlp</category>
      <category>rag</category>
    </item>
    <item>
      <title>RAG using Ollama</title>
      <dc:creator>Urvesh</dc:creator>
      <pubDate>Mon, 10 Jun 2024 14:59:02 +0000</pubDate>
      <link>https://forem.com/urvesh/rag-using-ollama-1bam</link>
      <guid>https://forem.com/urvesh/rag-using-ollama-1bam</guid>
      <description>&lt;p&gt;I want to create a LLM which is trained on several PDFs and can generates the answer based on the questions given by the end user. I do not have the Paid API Keys. I want to use Ollama to create my LLM. Can I use RAG with Ollama?&lt;/p&gt;

</description>
      <category>rag</category>
      <category>ollama</category>
      <category>llm</category>
      <category>help</category>
    </item>
  </channel>
</rss>
