LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph.storebaseIndexConfigdims
    Attribute●Since v2.0

    dims

    Copy
    dims: int
    View source on GitHub

    Number of dimensions in the embedding vectors.

    Common embedding models have the following dimensions:

    • openai:text-embedding-3-large: 3072
    • openai:text-embedding-3-small: 1536
    • openai:text-embedding-ada-002: 1536
    • cohere:embed-english-v3.0: 1024
    • cohere:embed-english-light-v3.0: 384
    • cohere:embed-multilingual-v3.0: 1024
    • cohere:embed-multilingual-light-v3.0: 384