test_azure_openai_embedding_async_query() — langchain Function Reference
Architecture documentation for the test_azure_openai_embedding_async_query() function in test_azure.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 476e51d2_e1b7_ebf1_6a12_898e38d39024["test_azure_openai_embedding_async_query()"] b6441089_df7b_2f5f_20e3_97ad397ec4f9["test_azure.py"] 476e51d2_e1b7_ebf1_6a12_898e38d39024 -->|defined in| b6441089_df7b_2f5f_20e3_97ad397ec4f9 e0a47da9_250f_6bd7_3263_1ac362d554a6["_get_embeddings()"] 476e51d2_e1b7_ebf1_6a12_898e38d39024 -->|calls| e0a47da9_250f_6bd7_3263_1ac362d554a6 style 476e51d2_e1b7_ebf1_6a12_898e38d39024 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/openai/tests/integration_tests/embeddings/test_azure.py lines 92–97
async def test_azure_openai_embedding_async_query() -> None:
"""Test openai embeddings."""
document = "foo bar"
embedding = _get_embeddings()
output = await embedding.aembed_query(document)
assert len(output) == 1536
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does test_azure_openai_embedding_async_query() do?
test_azure_openai_embedding_async_query() is a function in the langchain codebase, defined in libs/partners/openai/tests/integration_tests/embeddings/test_azure.py.
Where is test_azure_openai_embedding_async_query() defined?
test_azure_openai_embedding_async_query() is defined in libs/partners/openai/tests/integration_tests/embeddings/test_azure.py at line 92.
What does test_azure_openai_embedding_async_query() call?
test_azure_openai_embedding_async_query() calls 1 function(s): _get_embeddings.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free