Spaces:
Runtime error
Runtime error
File size: 267 Bytes
58d33f0 |
1 2 3 4 5 6 7 8 9 10 11 |
"""Test Aleph Alpha API wrapper."""
from langchain.llms.aleph_alpha import AlephAlpha
def test_aleph_alpha_call() -> None:
"""Test valid call to cohere."""
llm = AlephAlpha(maximum_tokens=10)
output = llm("Say foo:")
assert isinstance(output, str)
|