test_openai_incorrect_field() — langchain Function Reference
Architecture documentation for the test_openai_incorrect_field() function in test_base.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 925650a5_f95e_1a9a_454f_ef2efea8bdde["test_openai_incorrect_field()"] 1b2604cc_dec7_a9eb_ce6b_1cbab7a6dc2e["test_base.py"] 925650a5_f95e_1a9a_454f_ef2efea8bdde -->|defined in| 1b2604cc_dec7_a9eb_ce6b_1cbab7a6dc2e style 925650a5_f95e_1a9a_454f_ef2efea8bdde fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/openai/tests/unit_tests/embeddings/test_base.py lines 18–21
def test_openai_incorrect_field() -> None:
with pytest.warns(match="not default parameter"):
llm = OpenAIEmbeddings(foo="bar") # type: ignore[call-arg]
assert llm.model_kwargs == {"foo": "bar"}
Domain
Subdomains
Source
Frequently Asked Questions
What does test_openai_incorrect_field() do?
test_openai_incorrect_field() is a function in the langchain codebase, defined in libs/partners/openai/tests/unit_tests/embeddings/test_base.py.
Where is test_openai_incorrect_field() defined?
test_openai_incorrect_field() is defined in libs/partners/openai/tests/unit_tests/embeddings/test_base.py at line 18.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free