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
This commit is contained in:
Charlie Holtz
2023-03-24 15:24:01 -04:00
parent e7d6de6b1c
commit cefe277a35
6 changed files with 538 additions and 0 deletions

View File

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