Home / Function/ test_qdrant_embedding_interface() — langchain Function Reference

test_qdrant_embedding_interface() — langchain Function Reference

Architecture documentation for the test_qdrant_embedding_interface() function in test_embedding_interface.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  435b8a59_d6c7_ddaa_e5b8_e9ebc5f662d8["test_qdrant_embedding_interface()"]
  281aead3_087b_5581_6993_3520ab727404["test_embedding_interface.py"]
  435b8a59_d6c7_ddaa_e5b8_e9ebc5f662d8 -->|defined in| 281aead3_087b_5581_6993_3520ab727404
  style 435b8a59_d6c7_ddaa_e5b8_e9ebc5f662d8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/qdrant/tests/integration_tests/test_embedding_interface.py lines 24–38

def test_qdrant_embedding_interface(
    embeddings: Embeddings | None, embedding_function: Callable | None
) -> None:
    """Test Qdrant may accept different types for embeddings."""
    from qdrant_client import QdrantClient

    client = QdrantClient(":memory:")
    collection_name = uuid.uuid4().hex

    Qdrant(
        client,
        collection_name,
        embeddings=embeddings,
        embedding_function=embedding_function,
    )

Domain

Subdomains

Frequently Asked Questions

What does test_qdrant_embedding_interface() do?
test_qdrant_embedding_interface() is a function in the langchain codebase, defined in libs/partners/qdrant/tests/integration_tests/test_embedding_interface.py.
Where is test_qdrant_embedding_interface() defined?
test_qdrant_embedding_interface() is defined in libs/partners/qdrant/tests/integration_tests/test_embedding_interface.py at line 24.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free