Home / Class/ TestOpenAIStandard Class — langchain Architecture

TestOpenAIStandard Class — langchain Architecture

Architecture documentation for the TestOpenAIStandard class in test_base_standard.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  e053773d_2fc7_f9c8_82ca_29309bd30c58["TestOpenAIStandard"]
  62dd6083_6171_c59e_a7f4_2ef6b850810c["EmbeddingsIntegrationTests"]
  e053773d_2fc7_f9c8_82ca_29309bd30c58 -->|extends| 62dd6083_6171_c59e_a7f4_2ef6b850810c
  5bc92638_6e0e_f237_5196_7197d7942d1e["test_base_standard.py"]
  e053773d_2fc7_f9c8_82ca_29309bd30c58 -->|defined in| 5bc92638_6e0e_f237_5196_7197d7942d1e
  1616dc38_a086_f7aa_5f70_df470a81f096["embeddings_class()"]
  e053773d_2fc7_f9c8_82ca_29309bd30c58 -->|method| 1616dc38_a086_f7aa_5f70_df470a81f096
  8e570112_cfcb_3a93_b03b_3d15fd6ed653["embedding_model_params()"]
  e053773d_2fc7_f9c8_82ca_29309bd30c58 -->|method| 8e570112_cfcb_3a93_b03b_3d15fd6ed653

Relationship Graph

Source Code

libs/partners/openai/tests/integration_tests/embeddings/test_base_standard.py lines 9–16

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}

Frequently Asked Questions

What is the TestOpenAIStandard class?
TestOpenAIStandard is a class in the langchain codebase, defined in libs/partners/openai/tests/integration_tests/embeddings/test_base_standard.py.
Where is TestOpenAIStandard defined?
TestOpenAIStandard is defined in libs/partners/openai/tests/integration_tests/embeddings/test_base_standard.py at line 9.
What does TestOpenAIStandard extend?
TestOpenAIStandard extends EmbeddingsIntegrationTests.

Analyze Your Own Codebase

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

Try Supermodel Free