from llama_index import SimpleDirectoryReader, GPTVectorStoreIndex, LLMPredictor, PromptHelper, ServiceContext, StorageContext, load_index_from_storage from langchain import OpenAI import os import openai import gradio as gr
vectorIndex.storage_context.persist(persist_dir='Store') # issue in this line it over ride pre existing vector data i dont want to create vector of all document when a single document come in my Data directory. return vectorIndex
vectorIndex.storage_context.persist(persist_dir='Store') # issue in this line it over ride pre existing vector data i dont want to create vector of all document when a single document come in my Data directory.
Sir it's working I am grateful for your invaluable assistance and support with my coding endeavors. Your guidance and expertise have played a pivotal role in my growth as a programmer, and I am immensely grateful for your help.