Langchain & SentenceTransformerEmbeddings error while passing the embeded function to chromadb
Below is the code snippet which i am trying to runfrom langchain.vectorstores.chroma import Chroma
from langchain.text_splitter import CharacterTextSplitter
from langchain_community.document_loaders import JSONLoader
from langchain_community.embeddings.sentence_transformer import SentenceTransformerEmbeddings
persistent_directory = 'db'
try:
     
     loader = JSONLoader(
      file_path='./data/abc.json',
      jq_schema='.',
      text_content=False)
     
     data = loader.load()

     text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=200)
     text = text_splitter.split_documents(data)


     embedding_function = SentenceTransformerEmbeddings(model_name="paraphrase-MiniLM-L6-v2")

     vectordb = Chroma.from_documents(text, embedding_function)
    
except Exception as e:
    print("Error: ", e)Error : Error:  Expected EmbeddingFunction.callto have the following signature: odict_keys([‘self’, ‘input’]), got odict_keys([‘args’, ‘kwargs’])Please see🧬 Embeddings | Chromafor details of the EmbeddingFunction interface.Please note the recent change to the EmbeddingFunction interface:✈️ Migration | ChromaCould someone help me here