mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-11 07:50:47 +00:00
Add LLMs support for Anyscale Service (#4350)
Add Anyscale service integration under LLM Co-authored-by: Dev 2049 <dev.dev2049@gmail.com>
This commit is contained in:
10
tests/integration_tests/llms/test_anyscale.py
Normal file
10
tests/integration_tests/llms/test_anyscale.py
Normal file
@@ -0,0 +1,10 @@
|
||||
"""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)
|
Reference in New Issue
Block a user