TGI_RESPONSE#

class langchain_huggingface.chat_models.huggingface.TGI_RESPONSE(choices: List[Any], usage: Dict)[source]#

Response from the TextGenInference API.

Attributes

Methods

__init__(choices, usage)

Parameters:
  • choices (List[Any]) –

  • usage (Dict) –

__init__(choices: List[Any], usage: Dict) → None#
Parameters:
  • choices (List[Any]) –

  • usage (Dict) –

Return type:

None