Files
langchain/tests/integration_tests/llms/test_replicate.py
Charlie Holtz cefe277a35 initial commit
replicate readme

add replicate to integration

simple replicate test

rename api key to token, and update to latest python client

update replicate docs
2023-03-26 14:27:38 -07:00

11 lines
245 B
Python

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