oracle-ads 2.13.10__py3-none-any.whl → 2.13.11__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -246,7 +246,10 @@ class AquaDeploymentStreamingInferenceHandler(AquaAPIhandler):
246
246
  stream=True,
247
247
  ):
248
248
  try:
249
- yield chunk["choices"][0]["delta"]["content"]
249
+ if "text" in chunk["choices"][0]:
250
+ yield chunk["choices"][0]["text"]
251
+ elif "content" in chunk["choices"][0]["delta"]:
252
+ yield chunk["choices"][0]["delta"]["content"]
250
253
  except Exception as e:
251
254
  logger.debug(
252
255
  f"Exception occurred while parsing streaming response: {e}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oracle_ads
3
- Version: 2.13.10
3
+ Version: 2.13.11
4
4
  Summary: Oracle Accelerated Data Science SDK
5
5
  Keywords: Oracle Cloud Infrastructure,OCI,Machine Learning,ML,Artificial Intelligence,AI,Data Science,Cloud,Oracle,GenAI,Generative AI,Forecast,Anomaly,Document Understanding,Anomaly Detection
6
6
  Author: Oracle Data Science
@@ -36,7 +36,7 @@ ads/aqua/extension/aqua_ws_msg_handler.py,sha256=VDa9vQOsYKX6flsUkDEx6nl-5MFCH5R
36
36
  ads/aqua/extension/base_handler.py,sha256=W-eBXn9XYypCZuY84e9cSKRuY0CDyuou_znV6Yn9YzU,3047
37
37
  ads/aqua/extension/common_handler.py,sha256=okjFJlJv0FLXsMM1td6upqqA6tJEJIj1IIfTiughC5Q,3809
38
38
  ads/aqua/extension/common_ws_msg_handler.py,sha256=PAy98ZsM8VAXcy11ahsuam3QUDdmE-Hz4F5pISVkNHY,1242
39
- ads/aqua/extension/deployment_handler.py,sha256=9ncV1H1pWnyoZuF4iva7n4xpSpGZauZJs2455Vxg2YE,13929
39
+ ads/aqua/extension/deployment_handler.py,sha256=_E1nRoL6g2KQC0Ktji_-SEcgTu6VH7eZ7Tx0p0F0NTM,14125
40
40
  ads/aqua/extension/deployment_ws_msg_handler.py,sha256=JX3ZHRtscrflSxT7ZTEEI_p_owtk3m5FZq3QXE96AGY,2013
41
41
  ads/aqua/extension/errors.py,sha256=4LbzZdCoDEtOcrVI-1dgiza4oAYGof6w5LbN6HqroYk,1396
42
42
  ads/aqua/extension/evaluation_handler.py,sha256=fJH73fa0xmkEiP8SxKL4A4dJgj-NoL3z_G-w_WW2zJs,4353
@@ -851,8 +851,8 @@ ads/type_discovery/unknown_detector.py,sha256=yZuYQReO7PUyoWZE7onhhtYaOg6088wf1y
851
851
  ads/type_discovery/zipcode_detector.py,sha256=3AlETg_ZF4FT0u914WXvTT3F3Z6Vf51WiIt34yQMRbw,1421
852
852
  ads/vault/__init__.py,sha256=x9tMdDAOdF5iDHk9u2di_K-ze5Nq068x25EWOBoWwqY,245
853
853
  ads/vault/vault.py,sha256=hFBkpYE-Hfmzu1L0sQwUfYcGxpWmgG18JPndRl0NOXI,8624
854
- oracle_ads-2.13.10.dist-info/entry_points.txt,sha256=9VFnjpQCsMORA4rVkvN8eH6D3uHjtegb9T911t8cqV0,35
855
- oracle_ads-2.13.10.dist-info/licenses/LICENSE.txt,sha256=zoGmbfD1IdRKx834U0IzfFFFo5KoFK71TND3K9xqYqo,1845
856
- oracle_ads-2.13.10.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
857
- oracle_ads-2.13.10.dist-info/METADATA,sha256=6IdITwKhRGUjbXSjld7Lg7KtbeNviOz7g6oy1nWhTtI,16797
858
- oracle_ads-2.13.10.dist-info/RECORD,,
854
+ oracle_ads-2.13.11.dist-info/entry_points.txt,sha256=9VFnjpQCsMORA4rVkvN8eH6D3uHjtegb9T911t8cqV0,35
855
+ oracle_ads-2.13.11.dist-info/licenses/LICENSE.txt,sha256=zoGmbfD1IdRKx834U0IzfFFFo5KoFK71TND3K9xqYqo,1845
856
+ oracle_ads-2.13.11.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
857
+ oracle_ads-2.13.11.dist-info/METADATA,sha256=I76xK_OiDkKlWHs3tqVCQJXPCSqxEY1HQxbHo21Kjlc,16797
858
+ oracle_ads-2.13.11.dist-info/RECORD,,