mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
0d51a1f12b
Add Anyscale service integration under LLM Co-authored-by: Dev 2049 <dev.dev2049@gmail.com>
11 lines
239 B
Python
11 lines
239 B
Python
"""Test Anyscale API wrapper."""
|
|
|
|
from langchain.llms.anyscale import Anyscale
|
|
|
|
|
|
def test_anyscale_call() -> None:
|
|
"""Test valid call to Anyscale."""
|
|
llm = Anyscale()
|
|
output = llm("Say foo:")
|
|
assert isinstance(output, str)
|