get_weather() — langchain Function Reference
Architecture documentation for the get_weather() function in test_response_format_integration.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD d3b55526_2cff_d6ec_9a5f_d50107f74f4d["get_weather()"] 52a46c82_b592_7c71_f552_b6b987060948["test_response_format_integration.py"] d3b55526_2cff_d6ec_9a5f_d50107f74f4d -->|defined in| 52a46c82_b592_7c71_f552_b6b987060948 style d3b55526_2cff_d6ec_9a5f_d50107f74f4d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain_v1/tests/unit_tests/agents/test_response_format_integration.py lines 70–72
def get_weather(city: str) -> str:
"""Get the weather for a city."""
return f"The weather in {city} is sunny and 75°F."
Domain
Subdomains
Source
Frequently Asked Questions
What does get_weather() do?
get_weather() is a function in the langchain codebase, defined in libs/langchain_v1/tests/unit_tests/agents/test_response_format_integration.py.
Where is get_weather() defined?
get_weather() is defined in libs/langchain_v1/tests/unit_tests/agents/test_response_format_integration.py at line 70.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free