@@ -5252,34 +5252,22 @@ class SentimentOptions():
52525252 sentiment results.
52535253 :attr List[str] targets: (optional) Sentiment results will be returned for each
52545254 target string that is found in the document.
5255- :attr str model: (optional) (Beta) Enter a [custom
5256- model](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-customizing)
5257- ID to override the standard sentiment model for all sentiment analysis
5258- operations in the request, including targeted sentiment for entities and
5259- keywords.
52605255 """
52615256
52625257 def __init__ (self ,
52635258 * ,
52645259 document : bool = None ,
5265- targets : List [str ] = None ,
5266- model : str = None ) -> None :
5260+ targets : List [str ] = None ) -> None :
52675261 """
52685262 Initialize a SentimentOptions object.
52695263
52705264 :param bool document: (optional) Set this to `false` to hide document-level
52715265 sentiment results.
52725266 :param List[str] targets: (optional) Sentiment results will be returned for
52735267 each target string that is found in the document.
5274- :param str model: (optional) (Beta) Enter a [custom
5275- model](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-customizing)
5276- ID to override the standard sentiment model for all sentiment analysis
5277- operations in the request, including targeted sentiment for entities and
5278- keywords.
52795268 """
52805269 self .document = document
52815270 self .targets = targets
5282- self .model = model
52835271
52845272 @classmethod
52855273 def from_dict (cls , _dict : Dict ) -> 'SentimentOptions' :
@@ -5289,8 +5277,6 @@ def from_dict(cls, _dict: Dict) -> 'SentimentOptions':
52895277 args ['document' ] = _dict .get ('document' )
52905278 if 'targets' in _dict :
52915279 args ['targets' ] = _dict .get ('targets' )
5292- if 'model' in _dict :
5293- args ['model' ] = _dict .get ('model' )
52945280 return cls (** args )
52955281
52965282 @classmethod
@@ -5305,8 +5291,6 @@ def to_dict(self) -> Dict:
53055291 _dict ['document' ] = self .document
53065292 if hasattr (self , 'targets' ) and self .targets is not None :
53075293 _dict ['targets' ] = self .targets
5308- if hasattr (self , 'model' ) and self .model is not None :
5309- _dict ['model' ] = self .model
53105294 return _dict
53115295
53125296 def _to_dict (self ):
0 commit comments