Home / Function/ qdrant_running_locally() — langchain Function Reference

qdrant_running_locally() — langchain Function Reference

Architecture documentation for the qdrant_running_locally() function in common.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  189132bf_eaa6_2dca_bc65_3feaddf00c5c["qdrant_running_locally()"]
  b62fe5d9_7b83_0e14_ef50_3645cafa8bc5["common.py"]
  189132bf_eaa6_2dca_bc65_3feaddf00c5c -->|defined in| b62fe5d9_7b83_0e14_ef50_3645cafa8bc5
  style 189132bf_eaa6_2dca_bc65_3feaddf00c5c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/qdrant/tests/integration_tests/common.py lines 8–15

def qdrant_running_locally() -> bool:
    """Check if Qdrant is running at http://localhost:6333."""
    try:
        response = requests.get("http://localhost:6333", timeout=10.0)
        response_json = response.json()
        return response_json.get("title") == "qdrant - vector search engine"
    except (requests.exceptions.ConnectionError, requests.exceptions.Timeout):
        return False

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free