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