Turn Off Chroma Telemetry in Langchain

You can turn off sending telemetry data to ChromaDB (now a venture backed startup) when using langchain.

from langchain.vectorstores import Chroma

client_settings = chromadb.config.Settings(
    is_persistent=True,
    persist_directory="mydir",
    anonymized_telemetry=False,
)
return Chroma(
    client_settings=client_settings,
    embedding_function=my_embeddings,
)
  • Chromadb

    ChromaDB is a vector database used for similarity searches on embeddings. It’s extremely easy to use if you are using Python and works well with LangChain.