Home / Class/ TestFakeEmbeddingsIntegration Class — langchain Architecture

TestFakeEmbeddingsIntegration Class — langchain Architecture

Architecture documentation for the TestFakeEmbeddingsIntegration class in test_embeddings.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  d8f21238_c254_d3ac_7120_18243501e7ff["TestFakeEmbeddingsIntegration"]
  62dd6083_6171_c59e_a7f4_2ef6b850810c["EmbeddingsIntegrationTests"]
  d8f21238_c254_d3ac_7120_18243501e7ff -->|extends| 62dd6083_6171_c59e_a7f4_2ef6b850810c
  750d10a5_603e_63f7_a7ad_3eff4345fc39["test_embeddings.py"]
  d8f21238_c254_d3ac_7120_18243501e7ff -->|defined in| 750d10a5_603e_63f7_a7ad_3eff4345fc39
  0867ef9e_bff1_12ab_183f_962dc3f8382f["embeddings_class()"]
  d8f21238_c254_d3ac_7120_18243501e7ff -->|method| 0867ef9e_bff1_12ab_183f_962dc3f8382f
  bb091c88_ff34_626c_3c7f_026ab1dc7634["embedding_model_params()"]
  d8f21238_c254_d3ac_7120_18243501e7ff -->|method| bb091c88_ff34_626c_3c7f_026ab1dc7634

Relationship Graph

Source Code

libs/standard-tests/tests/unit_tests/test_embeddings.py lines 19–26

class TestFakeEmbeddingsIntegration(EmbeddingsIntegrationTests):
    @property
    def embeddings_class(self) -> type[Embeddings]:
        return DeterministicFakeEmbedding

    @property
    def embedding_model_params(self) -> dict[str, Any]:
        return {"size": 6}

Frequently Asked Questions

What is the TestFakeEmbeddingsIntegration class?
TestFakeEmbeddingsIntegration is a class in the langchain codebase, defined in libs/standard-tests/tests/unit_tests/test_embeddings.py.
Where is TestFakeEmbeddingsIntegration defined?
TestFakeEmbeddingsIntegration is defined in libs/standard-tests/tests/unit_tests/test_embeddings.py at line 19.
What does TestFakeEmbeddingsIntegration extend?
TestFakeEmbeddingsIntegration extends EmbeddingsIntegrationTests.

Analyze Your Own Codebase

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

Try Supermodel Free