可训练的LLM#

class langchain_community.tools.memorize.tool.TrainableLLM(*args, **kwargs)[source]#

可训练语言模型的协议。

方法

__init__(*args, **kwargs)

atrain_unsupervised(inputs, **kwargs)

train_unsupervised(inputs, **kwargs)

__init__(*args, **kwargs)#
abstract async atrain_unsupervised(inputs: Sequence[str], **kwargs: Any) TrainResult[source]#
Parameters:
  • inputs (Sequence[str])

  • kwargs (Any)

Return type:

TrainResult

abstract train_unsupervised(inputs: Sequence[str], **kwargs: Any) TrainResult[来源]#
Parameters:
  • inputs (Sequence[str])

  • kwargs (Any)

Return type:

TrainResult