Home / File/ test_standard.py — langchain Source File

test_standard.py — langchain Source File

Architecture documentation for test_standard.py, a python file in the langchain codebase. 3 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  eb286bb2_a11d_ce17_b2b4_1dc57b1f1dc7["test_standard.py"]
  ba43b74d_3099_7e1c_aac3_cf594720469e["langchain_core.language_models"]
  eb286bb2_a11d_ce17_b2b4_1dc57b1f1dc7 --> ba43b74d_3099_7e1c_aac3_cf594720469e
  bab3058f_1ec6_5a8a_2b11_86f46e62adb4["langchain_tests.unit_tests"]
  eb286bb2_a11d_ce17_b2b4_1dc57b1f1dc7 --> bab3058f_1ec6_5a8a_2b11_86f46e62adb4
  7ee113fe_bef7_37b4_1846_b866af39d1c0["langchain_mistralai"]
  eb286bb2_a11d_ce17_b2b4_1dc57b1f1dc7 --> 7ee113fe_bef7_37b4_1846_b866af39d1c0
  style eb286bb2_a11d_ce17_b2b4_1dc57b1f1dc7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"""Standard LangChain interface tests."""

from langchain_core.language_models import BaseChatModel
from langchain_tests.unit_tests import (  # type: ignore[import-not-found]
    ChatModelUnitTests,  # type: ignore[import-not-found]
)

from langchain_mistralai import ChatMistralAI


class TestMistralStandard(ChatModelUnitTests):
    @property
    def chat_model_class(self) -> type[BaseChatModel]:
        return ChatMistralAI

Subdomains

Dependencies

  • langchain_core.language_models
  • langchain_mistralai
  • langchain_tests.unit_tests

Frequently Asked Questions

What does test_standard.py do?
test_standard.py is a source file in the langchain codebase, written in python. It belongs to the CoreAbstractions domain, MessageSchema subdomain.
What does test_standard.py depend on?
test_standard.py imports 3 module(s): langchain_core.language_models, langchain_mistralai, langchain_tests.unit_tests.
Where is test_standard.py in the architecture?
test_standard.py is located at libs/partners/mistralai/tests/unit_tests/test_standard.py (domain: CoreAbstractions, subdomain: MessageSchema, directory: libs/partners/mistralai/tests/unit_tests).

Analyze Your Own Codebase

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

Try Supermodel Free