QdrantVectorStoreComponent (vectorstores/qdrant.py)

langflow · src/backend/base/langflow/components/vectorstores/qdrant.py · python · MIT
ai

Module exposing: QdrantVectorStoreComponent

# Source: https://github.com/nerdy-tech-com-gitub/langflow | License: MIT | Copyright 2024 Langflow
# Provided via justclaw.it.com; keep this notice with the code.
from langchain.embeddings.base import Embeddings
from langchain_community.vectorstores import Qdrant

from langflow.base.vectorstores.model import LCVectorStoreComponent, check_cached_vector_store
from langflow.helpers.data import docs_to_data
from langflow.io import (
    DataInput,
    DropdownInput,
    HandleInput,
    IntInput,
    MultilineInput,
    SecretStrInput,
    StrInput,
)
from langflow.schema import Data


class QdrantVectorStoreComponent(LCVectorStoreComponent):
    display_name = "Qdrant"
    description = "Qdrant Vector Store with search capabilities"
    documentation = "https://python.langchain.com/docs/modu

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key