Add PipelineAI LLM integration (#3644)

Add PipelineAI LLM integration
This commit is contained in:
plutopulp
2023-04-27 16:22:26 +01:00
committed by GitHub
parent a35bbbfa9e
commit 6d6fd1b9e1
6 changed files with 312 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
"""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)