create_llm_result#

langchain_community.llms.anyscale.create_llm_result(choices: Any, prompts: List[str], token_usage: Dict[str, int], model_name: str) LLMResult[source]#

Create the LLMResult from the choices and prompts.

Parameters:
  • choices (Any) –

  • prompts (List[str]) –

  • token_usage (Dict[str, int]) –

  • model_name (str) –

Return type:

LLMResult