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