TGI_MESSAGE#

class langchain_huggingface.chat_models.huggingface.TGI_MESSAGE(role: str, content: str, tool_calls: List[Dict])[source]#

Message to send to the TextGenInference API.

Attributes

Methods

__init__(role,Β content,Β tool_calls)

Parameters:
  • role (str) –

  • content (str) –

  • tool_calls (List[Dict]) –

__init__(role: str, content: str, tool_calls: List[Dict]) β†’ None#
Parameters:
  • role (str) –

  • content (str) –

  • tool_calls (List[Dict]) –

Return type:

None