uqlm.utils.llm_config.save_llm_config#

uqlm.utils.llm_config.save_llm_config(llm)#

Extract and save LLM configuration by capturing all available parameters.

Return type:

Dict[str, Any]

Parameters:

llm (BaseChatModel) – The LLM instance to extract config from

Returns:

Dictionary containing LLM configuration

Return type:

dict