[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-08 UTC."],[],[],null,["# tflite_support.task.processor.BertCluAnnotationOptions\n\n\u003cbr /\u003e\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/python/task/processor/proto/clu_annotation_options.proto) |\n\nOptions for Bert CLU Annotator processor. \n\n tflite_support.task.processor.BertCluAnnotationOptions(\n max_history_turns: Optional[int] = 5,\n domain_threshold: Optional[float] = 0.5,\n intent_threshold: Optional[float] = 0.5,\n categorical_slot_threshold: Optional[float] = 0.5,\n mentioned_slot_threshold: Optional[float] = 0.5\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|------------------------------|-----------------------------------------------------|\n| `max_history_turns` | Max number of history turns to encode by the model. |\n| `domain_threshold` | The threshold of domain prediction. |\n| `intent_threshold` | The threshold of intent prediction. |\n| `categorical_slot_threshold` | The threshold of categorical slot prediction. |\n| `mentioned_slot_threshold` | The threshold of mentioned slot prediction. |\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `create_from_pb2`\n\n[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/python/task/processor/proto/clu_annotation_options.proto) \n\n @classmethod\n create_from_pb2(\n pb2_obj: _BertCluAnnotationOptionsProto\n ) -\u003e 'BertCluAnnotationOptions'\n\nCreates a `BertCluAnnotationOptions` object from the given protobuf object.\n\n### `to_pb2`\n\n[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/python/task/processor/proto/clu_annotation_options.proto) \n\n to_pb2() -\u003e _BertCluAnnotationOptionsProto\n\nGenerates a protobuf object to pass to the C++ layer.\n\n### `__eq__`\n\n[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/python/task/processor/proto/clu_annotation_options.proto) \n\n __eq__(\n other: Any\n ) -\u003e bool\n\nChecks if this object is equal to the given object.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ||\n|---------|---------------------------------|\n| `other` | The object to be compared with. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|---|---|\n| True if the objects are equal. ||\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Class Variables --------------- ||\n|----------------------------|-------|\n| categorical_slot_threshold | `0.5` |\n| domain_threshold | `0.5` |\n| intent_threshold | `0.5` |\n| max_history_turns | `5` |\n| mentioned_slot_threshold | `0.5` |\n\n\u003cbr /\u003e"]]