TGI_MESSAGE#
- class langchain_huggingface.chat_models.huggingface.TGI_MESSAGE(role: str, content: str, tool_calls: List[Dict])[source]#
发送到TextGenInference API的消息。
属性
方法
__init__
(role, content, tool_calls)- Parameters:
role (str)
内容 (str)
tool_calls (列表[字典])
- __init__(role: str, content: str, tool_calls: List[Dict]) None #
- Parameters:
role (str)
内容 (str)
tool_calls (列表[字典])
- Return type:
无