Rm create_project line (#7486)

not needed
This commit is contained in:
William FH 2023-07-10 10:49:55 -07:00 committed by GitHub
parent 5eec74d9a5
commit dd648183fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -384,8 +384,6 @@ async def arun_on_examples(
"""
project_name = _get_project_name(project_name, llm_or_chain_factory, None)
client_ = client or LangChainPlusClient()
client_.create_project(project_name)
results: Dict[str, List[Any]] = {}
async def process_example(
@ -584,7 +582,6 @@ def run_on_examples(
results: Dict[str, Any] = {}
project_name = _get_project_name(project_name, llm_or_chain_factory, None)
client_ = client or LangChainPlusClient()
client_.create_project(project_name)
tracer = LangChainTracer(project_name=project_name)
evaluator_project_name = f"{project_name}-evaluators"
evalution_handler = EvaluatorCallbackHandler(