Skip to main content
Ctrl+K
🦜🔗 LangChain  documentation - Home
  • Reference
  • Legacy reference
Ctrl+K
Docs
  • GitHub
  • X / Twitter
Ctrl+K
  • Reference
  • Legacy reference
Docs
  • GitHub
  • X / Twitter

Section Navigation

Base packages

  • Core
  • Langchain
  • Text Splitters
  • Community
  • Experimental

Integrations

  • AI21
  • Airbyte
  • Anthropic
  • AstraDB
  • AWS
  • Azure Dynamic Sessions
  • Chroma
    • vectorstores
      • Chroma
      • cosine_similarity
      • maximal_marginal_relevance
  • Cohere
  • Couchbase
  • Elasticsearch
  • Exa
  • Fireworks
  • Google Community
  • Google GenAI
  • Google VertexAI
  • Groq
  • Huggingface
  • Milvus
  • MistralAI
  • MongoDB
  • Nomic
  • Nvidia Ai Endpoints
  • Ollama
  • OpenAI
  • Pinecone
  • Postgres
  • Prompty
  • Qdrant
  • Robocorp
  • Together
  • Unstructured
  • VoyageAI
  • Weaviate
  • LangChain Python API Reference
  • langchain-chroma: 0.1.2

vectorstores#

This is the langchain_chroma.vectorstores module.

It contains the Chroma class which is a vector store for handling various tasks.

Classes

vectorstores.Chroma([collection_name, ...])

Chroma vector store integration.

Functions

vectorstores.cosine_similarity(X, Y)

Row-wise cosine similarity between two equal-width matrices.

vectorstores.maximal_marginal_relevance(...)

Calculate maximal marginal relevance.

© Copyright 2023, LangChain Inc.