langchain/tests/integration_tests/llms/test_pipelineai.py
plutopulp 6d6fd1b9e1
Add PipelineAI LLM integration (#3644)
Add PipelineAI LLM integration
2023-04-27 08:22:26 -07:00

11 lines
259 B
Python

"""Test Pipeline Cloud API wrapper."""
from langchain.llms.pipelineai import PipelineAI
def test_pipelineai_call() -> None:
"""Test valid call to Pipeline Cloud."""
llm = PipelineAI()
output = llm("Say foo:")
assert isinstance(output, str)