test_base_standard.py — langchain Source File
Architecture documentation for test_base_standard.py, a python file in the langchain codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR de8d008a_1472_3faa_a84e_da9fe8f145f3["test_base_standard.py"] bc46b61d_cfdf_3f6b_a9dd_ac2a328d84b3["langchain_core.embeddings"] de8d008a_1472_3faa_a84e_da9fe8f145f3 --> bc46b61d_cfdf_3f6b_a9dd_ac2a328d84b3 3595fbd1_e888_134d_323a_db1846b540d0["langchain_tests.integration_tests.embeddings"] de8d008a_1472_3faa_a84e_da9fe8f145f3 --> 3595fbd1_e888_134d_323a_db1846b540d0 0b28cff6_d823_1571_d2bb_ec61508cc89c["langchain_openai"] de8d008a_1472_3faa_a84e_da9fe8f145f3 --> 0b28cff6_d823_1571_d2bb_ec61508cc89c style de8d008a_1472_3faa_a84e_da9fe8f145f3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"""Standard LangChain interface tests"""
from langchain_core.embeddings import Embeddings
from langchain_tests.integration_tests.embeddings import EmbeddingsIntegrationTests
from langchain_openai import OpenAIEmbeddings
class TestOpenAIStandard(EmbeddingsIntegrationTests):
@property
def embeddings_class(self) -> type[Embeddings]:
return OpenAIEmbeddings
@property
def embedding_model_params(self) -> dict:
return {"model": "text-embedding-3-small", "dimensions": 128}
Domain
Subdomains
Classes
Dependencies
- langchain_core.embeddings
- langchain_openai
- langchain_tests.integration_tests.embeddings
Source
Frequently Asked Questions
What does test_base_standard.py do?
test_base_standard.py is a source file in the langchain codebase, written in python. It belongs to the CoreAbstractions domain, Serialization subdomain.
What does test_base_standard.py depend on?
test_base_standard.py imports 3 module(s): langchain_core.embeddings, langchain_openai, langchain_tests.integration_tests.embeddings.
Where is test_base_standard.py in the architecture?
test_base_standard.py is located at libs/partners/openai/tests/integration_tests/embeddings/test_base_standard.py (domain: CoreAbstractions, subdomain: Serialization, directory: libs/partners/openai/tests/integration_tests/embeddings).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free