from_llm_and_method(
cls,
llm: BaseLanguageModel,
path: str,
method: str,
spec| Name | Type | Description |
|---|---|---|
llm* | BaseLanguageModel | The language model to use. |
path* | str | The path of the API. |
method* | str | The method of the API. |
spec* | OpenAPISpec | The OpenAPI spec. |
requests | Optional[Requests] | Default: None |
verbose | bool | Default: False |
return_intermediate_steps | bool | Default: False |
kwargs | Any | Default: {} |
Instantiate the tool from the specified path and method.
Optional requests object. Default is None.
Whether to print verbose output. Default is False.
Whether to return intermediate steps. Default is False.
Additional arguments.