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],
- Parameters:
role (str)
content (str)
tool_calls (list[dict])
- Return type:
None