is_api_accessible() — langchain Function Reference
Architecture documentation for the is_api_accessible() function in test_vectorstores.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 2b8b351b_3c86_edb3_f09f_4b98873e0b38["is_api_accessible()"] 289e5a4f_8e2e_ddb6_af2e_804f91dabdb8["test_vectorstores.py"] 2b8b351b_3c86_edb3_f09f_4b98873e0b38 -->|defined in| 289e5a4f_8e2e_ddb6_af2e_804f91dabdb8 style 2b8b351b_3c86_edb3_f09f_4b98873e0b38 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/chroma/tests/integration_tests/test_vectorstores.py lines 596–601
def is_api_accessible(url: str) -> bool:
try:
response = requests.get(url, timeout=5)
return response.status_code == 200
except Exception:
return False
Domain
Subdomains
Source
Frequently Asked Questions
What does is_api_accessible() do?
is_api_accessible() is a function in the langchain codebase, defined in libs/partners/chroma/tests/integration_tests/test_vectorstores.py.
Where is is_api_accessible() defined?
is_api_accessible() is defined in libs/partners/chroma/tests/integration_tests/test_vectorstores.py at line 596.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free