Home / Function/ test_abatch_tags() — langchain Function Reference

test_abatch_tags() — langchain Function Reference

Architecture documentation for the test_abatch_tags() function in test_llms.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  9b2b0304_128a_a0e8_2d65_59fc1f7f92e7["test_abatch_tags()"]
  15bd5c4f_97a3_2536_2af4_954ef3df2a7c["test_llms.py"]
  9b2b0304_128a_a0e8_2d65_59fc1f7f92e7 -->|defined in| 15bd5c4f_97a3_2536_2af4_954ef3df2a7c
  style 9b2b0304_128a_a0e8_2d65_59fc1f7f92e7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/fireworks/tests/integration_tests/test_llms.py lines 73–81

async def test_abatch_tags() -> None:
    """Test batch tokens from Fireworks."""
    llm = Fireworks(model=_MODEL)

    result = await llm.abatch(
        ["I'm Pickle Rick", "I'm not Pickle Rick"], config={"tags": ["foo"]}
    )
    for token in result:
        assert isinstance(token, str)

Domain

Subdomains

Frequently Asked Questions

What does test_abatch_tags() do?
test_abatch_tags() is a function in the langchain codebase, defined in libs/partners/fireworks/tests/integration_tests/test_llms.py.
Where is test_abatch_tags() defined?
test_abatch_tags() is defined in libs/partners/fireworks/tests/integration_tests/test_llms.py at line 73.

Analyze Your Own Codebase

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

Try Supermodel Free