llm,    requests=Requests(),    verbose=verbose,    return_intermediate_steps=True,  # Return request and response text)    Attempting to load an OpenAPI 3.0.1 spec.  This may result in degraded performance. Convert your OpenAPI spec to 3.1.* spec for better support.Optional: Generate Input Questions and Request Ground Truth Queriesâ€‹See Generating Test Datasets at the end of this notebook for more details.# import re# from langchain.prompts import PromptTemplate# template = """Below is a service description:# {spec}# Imagine you're a new user trying to use {operation} through a search bar. What are 10 different things you want to request?# Wants/Questions:# 1. """# prompt = PromptTemplate.from_template(template)# generation_chain = LLMChain(llm=llm, prompt=prompt)# questions_ = generation_chain.run(spec=operation.to_typescript(), operation=operation.operation_id).split('\n')# # Strip preceding numeric bullets# questions = [re.sub(r'^\d+\. ', '', q).strip() for q in questions_]# questions# ground_truths = [# {"q": ...} # What are the best queries for each input?# ]Run the API Chainâ€‹The two simplest questions a user of the API Chain are:Did the chain succesfully access the endpoint?Did the action accomplish the correct result?from collections import defaultdict# Collect metrics to report at completionscores = defaultdict(list)from langchain.evaluation.loading import load_datasetdataset = load_dataset("openapi-chain-klarna-products-get")    Found cached dataset json