Files
langchain-python/langchain/client/__init__.py
T
Zander Chase 204a73c1d9 Use client from LCP-SDK (#5695)
- Remove the client implementation (this breaks backwards compatibility
for existing testers. I could keep the stub in that file if we want, but
not many people are using it yet
- Add SDK as dependency
- Update the 'run_on_dataset' method to be a function that optionally
accepts a client as an argument
- Remove the langchain plus server implementation (you get it for free
with the SDK now)

We could make the SDK optional for now, but the plan is to use w/in the
tracer so it would likely become a hard dependency at some point.
2023-06-06 06:51:05 -07:00

10 lines
243 B
Python

"""LangChain+ Client."""
from langchain.client.runner_utils import (
arun_on_dataset,
arun_on_examples,
run_on_dataset,
run_on_examples,
)
__all__ = ["arun_on_dataset", "run_on_dataset", "arun_on_examples", "run_on_examples"]