TestChatParrotLinkIntegration Class — langchain Architecture
Architecture documentation for the TestChatParrotLinkIntegration class in test_custom_chat_model.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD f04ca59b_6f9d_a644_02dc_a08ecc49dce6["TestChatParrotLinkIntegration"] 971e928f_9c9b_ce7a_b93d_e762f2f5aa54["ChatModelIntegrationTests"] f04ca59b_6f9d_a644_02dc_a08ecc49dce6 -->|extends| 971e928f_9c9b_ce7a_b93d_e762f2f5aa54 57394aac_f400_2743_81bf_99d7a4f58d22["test_custom_chat_model.py"] f04ca59b_6f9d_a644_02dc_a08ecc49dce6 -->|defined in| 57394aac_f400_2743_81bf_99d7a4f58d22 5c48797a_d405_259b_464c_b0b3a2c0b139["chat_model_class()"] f04ca59b_6f9d_a644_02dc_a08ecc49dce6 -->|method| 5c48797a_d405_259b_464c_b0b3a2c0b139 6692ab0b_ffea_92b2_a523_b6428a021a03["chat_model_params()"] f04ca59b_6f9d_a644_02dc_a08ecc49dce6 -->|method| 6692ab0b_ffea_92b2_a523_b6428a021a03 a4694725_01d7_6c98_6924_2a5716641b81["test_unicode_tool_call_integration()"] f04ca59b_6f9d_a644_02dc_a08ecc49dce6 -->|method| a4694725_01d7_6c98_6924_2a5716641b81
Relationship Graph
Source Code
libs/standard-tests/tests/unit_tests/test_custom_chat_model.py lines 27–43
class TestChatParrotLinkIntegration(ChatModelIntegrationTests):
@property
def chat_model_class(self) -> type[ChatParrotLink]:
return ChatParrotLink
@property
def chat_model_params(self) -> dict[str, Any]:
return {"model": "bird-brain-001", "temperature": 0, "parrot_buffer_length": 50}
@pytest.mark.xfail(reason="ChatParrotLink doesn't implement bind_tools method")
def test_unicode_tool_call_integration(
self,
model: BaseChatModel,
tool_choice: str | None = None, # noqa: PT028
force_tool_call: bool = True, # noqa: FBT001, FBT002, PT028
) -> None:
"""Expected failure as ChatParrotLink doesn't support tool calling yet."""
Extends
Source
Frequently Asked Questions
What is the TestChatParrotLinkIntegration class?
TestChatParrotLinkIntegration is a class in the langchain codebase, defined in libs/standard-tests/tests/unit_tests/test_custom_chat_model.py.
Where is TestChatParrotLinkIntegration defined?
TestChatParrotLinkIntegration is defined in libs/standard-tests/tests/unit_tests/test_custom_chat_model.py at line 27.
What does TestChatParrotLinkIntegration extend?
TestChatParrotLinkIntegration extends ChatModelIntegrationTests.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free