get_llm_kwargs#

langchain.chains.openai_functions.utils.get_llm_kwargs(function: dict) dict[source]#

Return the kwargs for the LLMChain constructor.

Parameters:

function (dict) – The function to use.

Returns:

The kwargs for the LLMChain constructor.

Return type:

dict