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]¶
Parameters
  • inputs (Sequence[str]) –

  • kwargs (Any) –

Return type

TrainResult

abstract train_unsupervised(inputs: Sequence[str], **kwargs: Any) TrainResult[source]¶
Parameters
  • inputs (Sequence[str]) –

  • kwargs (Any) –

Return type

TrainResult