Home / File/ test_secrets.py — langchain Source File

test_secrets.py — langchain Source File

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

File python CoreAbstractions MessageSchema 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  4b7c1369_becd_cdc0_244a_1b6ecff450b6["test_secrets.py"]
  0a64b352_1be7_5fff_8155_512d479e612f["langchain_perplexity"]
  4b7c1369_becd_cdc0_244a_1b6ecff450b6 --> 0a64b352_1be7_5fff_8155_512d479e612f
  style 4b7c1369_becd_cdc0_244a_1b6ecff450b6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

from langchain_perplexity import ChatPerplexity


def test_chat_perplexity_secrets() -> None:
    model = ChatPerplexity(
        model="llama-3.1-sonar-small-128k-online", pplx_api_key="foo"
    )
    assert "foo" not in str(model)

Subdomains

Dependencies

  • langchain_perplexity

Frequently Asked Questions

What does test_secrets.py do?
test_secrets.py is a source file in the langchain codebase, written in python. It belongs to the CoreAbstractions domain, MessageSchema subdomain.
What functions are defined in test_secrets.py?
test_secrets.py defines 1 function(s): test_chat_perplexity_secrets.
What does test_secrets.py depend on?
test_secrets.py imports 1 module(s): langchain_perplexity.
Where is test_secrets.py in the architecture?
test_secrets.py is located at libs/partners/perplexity/tests/unit_tests/test_secrets.py (domain: CoreAbstractions, subdomain: MessageSchema, directory: libs/partners/perplexity/tests/unit_tests).

Analyze Your Own Codebase

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

Try Supermodel Free