langchain_community.tools.memorize.tool.TrainableLLM¶

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

Protocol for trainable language models.

Methods

__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]¶
abstract train_unsupervised(inputs: Sequence[str], **kwargs: Any) TrainResult[source]¶