Spaces:
Sleeping
Sleeping
File size: 390 Bytes
cfd3735 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
"""Test manifest integration."""
from langchain.llms.manifest import ManifestWrapper
def test_manifest_wrapper() -> None:
"""Test manifest wrapper."""
from manifest import Manifest
manifest = Manifest(client_name="openai")
llm = ManifestWrapper(client=manifest, llm_kwargs={"temperature": 0})
output = llm("The capital of New York is:")
assert output == "Albany"
|