test_fireworks_call() — langchain Function Reference
Architecture documentation for the test_fireworks_call() function in test_llms.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD c74aa142_d474_11a3_a52c_e6677622b986["test_fireworks_call()"] 15bd5c4f_97a3_2536_2af4_954ef3df2a7c["test_llms.py"] c74aa142_d474_11a3_a52c_e6677622b986 -->|defined in| 15bd5c4f_97a3_2536_2af4_954ef3df2a7c style c74aa142_d474_11a3_a52c_e6677622b986 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/fireworks/tests/integration_tests/test_llms.py lines 19–30
def test_fireworks_call() -> None:
"""Test simple call to fireworks."""
llm = Fireworks(
model=_MODEL,
temperature=0.2,
max_tokens=250,
)
output = llm.invoke("Say foo:")
assert llm._llm_type == "fireworks"
assert isinstance(output, str)
assert len(output) > 0
Domain
Subdomains
Source
Frequently Asked Questions
What does test_fireworks_call() do?
test_fireworks_call() is a function in the langchain codebase, defined in libs/partners/fireworks/tests/integration_tests/test_llms.py.
Where is test_fireworks_call() defined?
test_fireworks_call() is defined in libs/partners/fireworks/tests/integration_tests/test_llms.py at line 19.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free