Toggle Menu
Prev Up Next

# `langchain_core.language_models.llms`.get_prompts

langchain_core.language_models.llms.get_prompts(params: Dict[str, Any], prompts: List[str], cache: Optional[Union[BaseCache, bool]] = None) → Tuple[Dict[int, List], str, List[int], List[str]]

  Get prompts that are already cached.

  Parameters

    - params (Dict[str, Any]) –

    - prompts (List[str]) –

    - cache (Optional[Union[BaseCache, bool]]) –

  Return type

    Tuple[Dict[int, List], str, List[int], List[str]]