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