autointent.configs.InferenceNodeConfig#

class autointent.configs.InferenceNodeConfig(node_type, module_name, module_config, load_path, embedder_config=None, cross_encoder_config=None)#

Configuration for the inference node.

Parameters:
  • node_type (autointent.custom_types.NodeType)

  • module_name (str)

  • module_config (dict[str, Any])

  • load_path (str)

  • embedder_config (autointent.configs._transformers.EmbedderConfig | None)

  • cross_encoder_config (autointent.configs._transformers.CrossEncoderConfig | None)

node_type#
module_name#
module_config#
load_path#
asdict()#

Convert the InferenceNodeConfig to a dictionary.

Returns:

A dictionary representation of the InferenceNodeConfig.

Return type:

dict[str, Any]