File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 8585 " \n " ,
8686 " from langchain.text_splitter import CharacterTextSplitter\n " ,
8787 " from langchain.document_loaders import TextLoader\n " ,
88- " from langchain.vectorstores import Clarifai \n " ,
88+ " from langchain.vectorstores import Clarifai as clarifaivectorstore \n " ,
8989 " \n " ,
9090 " loader = TextLoader(\" YOUR_TEXT_FILE_PATH\" ) #replace with your file path\n " ,
9191 " documents = loader.load()\n " ,
9292 " text_splitter = CharacterTextSplitter(chunk_size=1024, chunk_overlap=200)\n " ,
9393 " docs = text_splitter.split_documents(documents)\n " ,
9494 " \n " ,
95- " clarifai_vector_db = Clarifai .from_documents(\n " ,
95+ " clarifai_vector_db = clarifaivectorstore .from_documents(\n " ,
9696 " user_id=USER_ID,\n " ,
9797 " app_id=APP_ID,\n " ,
9898 " documents=docs,\n " ,
190190 "cell_type" : " markdown" ,
191191 "metadata" : {},
192192 "source" : [
193- " ### Example: Quick glimpse into how our retriever works when a query is passed to the dspy.Retrieve class"
193+ " ### Example: Quick glimpse into how our retriever works when a query is passed to the dspy.Retrieve class\n " ,
194+ " \n " ,
195+ " Here we have used a guideline manual for procurement of works.\n " ,
196+ " \n " ,
197+ " link : https://doe.gov.in/sites/default/files/Manual%20for%20Procurement%20of%20Works_0.pdf"
194198 ]
195199 },
196200 {
You can’t perform that action at this time.
0 commit comments