@@ -716,16 +716,28 @@ class CategoriesOptions():
716
716
:attr bool explanation: (optional) Set this to `true` to return explanations for
717
717
each categorization. **This is available only for English categories.**.
718
718
:attr int limit: (optional) Maximum number of categories to return.
719
+ :attr str model: (optional) Deprecated: Enter a [custom model]
720
+ (https://cloud.ibm.com/docs/services/natural-language-understanding?topic=natural-language-understanding-customizing)
721
+ ID to override the standard categories model. The custom categories experimental feature will be retired on
722
+ 19 December 2019. On that date, deployed custom categories models will no longer be accessible in Natural Language
723
+ Understanding. The feature will be removed from Knowledge Studio on an earlier date. Custom categories models will
724
+ no longer be accessible in Knowledge Studio on 17 December 2019.
719
725
"""
720
726
721
- def __init__ (self , * , explanation : bool = None , limit : int = None ) -> None :
727
+ def __init__ (self , * , explanation : bool = None , limit : int = None , model : str = None ) -> None :
722
728
"""
723
729
Initialize a CategoriesOptions object.
724
730
725
731
:param bool explanation: (optional) Set this to `true` to return
726
732
explanations for each categorization. **This is available only for English
727
733
categories.**.
728
734
:param int limit: (optional) Maximum number of categories to return.
735
+ :attr str model: (optional) Deprecated: Enter a [custom model]
736
+ (https://cloud.ibm.com/docs/services/natural-language-understanding?topic=natural-language-understanding-customizing)
737
+ ID to override the standard categories model. The custom categories experimental feature will be retired on
738
+ 19 December 2019. On that date, deployed custom categories models will no longer be accessible in Natural Language
739
+ Understanding. The feature will be removed from Knowledge Studio on an earlier date. Custom categories models will
740
+ no longer be accessible in Knowledge Studio on 17 December 2019.
729
741
"""
730
742
self .explanation = explanation
731
743
self .limit = limit
0 commit comments