class_docstr: Loads vector store from disk
class_docstr_tok: ["Loads","vector","store","from","disk"]
docstr: Load vector store from the persisted vector store
docstr_tok: ["Load","vector","store","from","the","persisted","vector","store"]
code: def load_vector_store_client(
      self,
      vector_store: str,
  ):
      """Load vector store from the persisted vector store"""
  
      if vector_store == "chromadb":
          return Chroma(
              collection_name=self.config.collection_name,
              embedding_function=self.config.embeddings_model,
              client=get_chroma_client(self.config.persist_directory),
          )
  
      elif vector_store == "faiss":
          return FAISS.load_local(
              folder_path=self.config.persist_directory,
              embeddings=self.config.embeddings_model,
              index_name=self.config.collection_name,
          )
  
      else:
          raise NotImplementedError(
              f"{vector_store} client is not yet supported"
          )
  
imports: import json
  from dataclasses import dataclass
  from functools import lru_cache, partial
  from typing import Any, Dict, List, Union
  import html2text
  import openai
  import pandas
  import requests
  import writer
  from langchain import Writer
  from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
  from langchain.docstore.document import Document
  from langchain.document_loaders import DataFrameLoader
  from langchain.embeddings.base import Embeddings
  from langchain.embeddings.huggingface import HuggingFaceEmbeddings
  from langchain.vectorstores import FAISS, Chroma, VectorStore
  from pydantic import BaseModel, Extra, Field, validator
  from mindsdb.integrations.handlers.chromadb_handler.chromadb_handler import get_chromadb
  from mindsdb.integrations.handlers.rag_handler.exceptions import InvalidOpenAIModel, InvalidPromptTemplate, InvalidWriterModel, UnsupportedLLM, UnsupportedVectorStore
label_desc: Use image node_id 2 for calling the PersistedVectorStoreLoader obj's underlying member method code with example usage: obj.load_vector_store_client(vector_store) and returns: Chroma, FAISS