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:
kYLe
2023-05-11 02:39:59 -05:00
committed by GitHub
parent 99b2400048
commit 0d51a1f12b
4 changed files with 317 additions and 0 deletions

View 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)