langchain/tests/integration_tests/llms/test_stochasticai.py
Enrico Shippole 9becdeaadf
Add Writer, Banana, Modal, StochasticAI (#1270)
Add LLM wrappers and examples for Banana, Writer, Modal, Stochastic AI

Added rigid json format for Banana and Modal
2023-02-24 06:58:58 -08:00

11 lines
263 B
Python

"""Test StochasticAI API wrapper."""
from langchain.llms.stochasticai import StochasticAI
def test_stochasticai_call() -> None:
"""Test valid call to StochasticAI."""
llm = StochasticAI()
output = llm("Say foo:")
assert isinstance(output, str)