mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
11 lines
249 B
Python
11 lines
249 B
Python
|
"""Test Anyscale API wrapper."""
|
||
|
|
||
|
from langchain.llms.aviary import Aviary
|
||
|
|
||
|
|
||
|
def test_aviary_call() -> None:
|
||
|
"""Test valid call to Anyscale."""
|
||
|
llm = Aviary(model="test/model")
|
||
|
output = llm("Say bar:")
|
||
|
assert isinstance(output, str)
|