egain-api-python 0.1.10__tar.gz → 0.2.1__tar.gz

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.
Files changed (349) hide show
  1. {egain_api_python-0.1.10/src/egain_api_python.egg-info → egain_api_python-0.2.1}/PKG-INFO +121 -206
  2. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/README.md +120 -205
  3. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/pyproject.toml +1 -1
  4. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/_version.py +2 -2
  5. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/aiservices.py +5 -0
  6. egain_api_python-0.2.1/src/egain_api_python/aiservices_prompt.py +279 -0
  7. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/answers.py +20 -14
  8. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/errors/__init__.py +5 -0
  9. egain_api_python-0.2.1/src/egain_api_python/errors/executepromptop.py +35 -0
  10. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/errors/schemas_wserrorcommon.py +1 -1
  11. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/export.py +46 -20
  12. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/general.py +2 -2
  13. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/import_.py +46 -76
  14. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/__init__.py +160 -132
  15. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/additionalsnippets.py +11 -4
  16. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/aisearchop.py +28 -0
  17. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/aisearchresponse.py +6 -0
  18. egain_api_python-0.2.1/src/egain_api_python/models/aispaginationinfo.py +32 -0
  19. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/answersrequest.py +9 -2
  20. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/answersresponse.py +15 -4
  21. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articleaisearchresult.py +21 -6
  22. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articlewitheditions.py +4 -2
  23. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/cancelimportop.py +2 -2
  24. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/createimportjobop.py +2 -2
  25. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/createimportvalidationjobop.py +2 -2
  26. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/createsuggestion.py +13 -1
  27. egain_api_python-0.2.1/src/egain_api_python/models/datasourcecredentials.py +32 -0
  28. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/edition.py +2 -8
  29. egain_api_python-0.2.1/src/egain_api_python/models/executeprompt.py +92 -0
  30. egain_api_python-0.2.1/src/egain_api_python/models/executepromptop.py +35 -0
  31. egain_api_python-0.2.1/src/egain_api_python/models/executepromptresponse.py +58 -0
  32. egain_api_python-0.1.10/src/egain_api_python/models/uploadattachmentop.py → egain_api_python-0.2.1/src/egain_api_python/models/exportcontentop.py +16 -14
  33. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getalltopicsop.py +9 -0
  34. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticleeditiondetailsop.py +2 -2
  35. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getbestanswerop.py +18 -8
  36. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getimportstatusop.py +2 -2
  37. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getmyportalsop.py +2 -2
  38. egain_api_python-0.2.1/src/egain_api_python/models/getprompttemplatebyidop.py +95 -0
  39. egain_api_python-0.2.1/src/egain_api_python/models/getprompttemplatesop.py +121 -0
  40. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/importcontent.py +3 -13
  41. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/knowledgeexport.py +19 -16
  42. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/languagecode_parameter.py +11 -0
  43. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/languagequeryparameter.py +11 -0
  44. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/mandatorylanguagequeryparameter.py +12 -0
  45. egain_api_python-0.2.1/src/egain_api_python/models/prompttemplate.py +150 -0
  46. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/publishprofile.py +2 -8
  47. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/referenceresponse.py +3 -3
  48. egain_api_python-0.2.1/src/egain_api_python/models/replacement.py +16 -0
  49. egain_api_python-0.2.1/src/egain_api_python/models/requiredlanguagecode.py +40 -0
  50. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/retrievechunksop.py +18 -8
  51. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/retrieverequest.py +9 -2
  52. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/retrieveresponse.py +15 -4
  53. egain_api_python-0.2.1/src/egain_api_python/models/searchreplacement.py +36 -0
  54. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/searchresult.py +29 -7
  55. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/searchsuggestionop.py +2 -2
  56. egain_api_python-0.2.1/src/egain_api_python/models/staticreplacement.py +30 -0
  57. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/suggestion.py +24 -1
  58. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/validateimportcontent.py +3 -13
  59. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/portal_article.py +6 -4
  60. egain_api_python-0.2.1/src/egain_api_python/portal_attachment.py +249 -0
  61. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/portal_sdk.py +0 -3
  62. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/portal_suggestion.py +2 -2
  63. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/portal_topic.py +6 -0
  64. egain_api_python-0.1.10/src/egain_api_python/portal_attachment.py → egain_api_python-0.2.1/src/egain_api_python/prompt.py +110 -157
  65. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/retrieve.py +16 -10
  66. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/sdk.py +4 -0
  67. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/search.py +49 -15
  68. {egain_api_python-0.1.10 → egain_api_python-0.2.1/src/egain_api_python.egg-info}/PKG-INFO +121 -206
  69. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python.egg-info/SOURCES.txt +15 -14
  70. egain_api_python-0.1.10/src/egain_api_python/escalation.py +0 -955
  71. egain_api_python-0.1.10/src/egain_api_python/models/articlesearchresult.py +0 -243
  72. egain_api_python-0.1.10/src/egain_api_python/models/articlesearchresults.py +0 -32
  73. egain_api_python-0.1.10/src/egain_api_python/models/avertcustomerescalationop.py +0 -44
  74. egain_api_python-0.1.10/src/egain_api_python/models/completecustomerescalationop.py +0 -44
  75. egain_api_python-0.1.10/src/egain_api_python/models/contactperson.py +0 -43
  76. egain_api_python-0.1.10/src/egain_api_python/models/contacts.py +0 -21
  77. egain_api_python-0.1.10/src/egain_api_python/models/email.py +0 -21
  78. egain_api_python-0.1.10/src/egain_api_python/models/exportcontentop.py +0 -14
  79. egain_api_python-0.1.10/src/egain_api_python/models/optionalarticleattributes.py +0 -20
  80. egain_api_python-0.1.10/src/egain_api_python/models/phone.py +0 -21
  81. egain_api_python-0.1.10/src/egain_api_python/models/searchpriortoescalationop.py +0 -108
  82. egain_api_python-0.1.10/src/egain_api_python/models/startcustomerescalationop.py +0 -66
  83. egain_api_python-0.1.10/src/egain_api_python/models/startescalationrequest.py +0 -94
  84. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/LICENSE +0 -0
  85. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/setup.cfg +0 -0
  86. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/__init__.py +0 -0
  87. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/_hooks/__init__.py +0 -0
  88. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/_hooks/registration.py +0 -0
  89. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/_hooks/sdkhooks.py +0 -0
  90. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/_hooks/types.py +0 -0
  91. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/articlelists.py +0 -0
  92. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/basesdk.py +0 -0
  93. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/connectorssearchevents.py +0 -0
  94. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/content.py +0 -0
  95. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/errors/egaindefaulterror.py +0 -0
  96. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/errors/egainerror.py +0 -0
  97. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/errors/no_response_error.py +0 -0
  98. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/errors/responsevalidationerror.py +0 -0
  99. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/errors/wserrorcommon.py +0 -0
  100. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/federatedsearchevent.py +0 -0
  101. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/guidedhelp.py +0 -0
  102. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/httpclient.py +0 -0
  103. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/acceptghsolutionop.py +0 -0
  104. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/acceptlanguage.py +0 -0
  105. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/accessibleportal.py +0 -0
  106. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/action.py +0 -0
  107. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/actionsearch.py +0 -0
  108. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/addasreferenceop.py +0 -0
  109. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/addbookmarkop.py +0 -0
  110. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/addtoreplyop.py +0 -0
  111. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/aitopicbreadcrumb.py +0 -0
  112. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/aitopicsummary.py +0 -0
  113. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/allaccessibleportals.py +0 -0
  114. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/answer.py +0 -0
  115. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/answeredquestion.py +0 -0
  116. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/answerrange.py +0 -0
  117. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/article.py +0 -0
  118. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articleactivitylink.py +0 -0
  119. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articleadditionalattributes.py +0 -0
  120. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articleattachment.py +0 -0
  121. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articlelist.py +0 -0
  122. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articlelistresult.py +0 -0
  123. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articlelistsresult.py +0 -0
  124. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articlepermissions.py +0 -0
  125. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articlepermissionsresult.py +0 -0
  126. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articlerating.py +0 -0
  127. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articleratingsresponse.py +0 -0
  128. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articleresult.py +0 -0
  129. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articleresultadditionalattributes.py +0 -0
  130. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articleresults.py +0 -0
  131. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articlesort.py +0 -0
  132. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articlesortorder.py +0 -0
  133. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/articletype.py +0 -0
  134. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/attachment.py +0 -0
  135. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/attachmentadditionalattributes.py +0 -0
  136. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/attachmentcontent.py +0 -0
  137. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/attachmentcontentresult.py +0 -0
  138. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/attachmentforcreatesuggestion.py +0 -0
  139. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/attachments.py +0 -0
  140. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/attachmentsummary.py +0 -0
  141. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/attachmentupload.py +0 -0
  142. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/bookmark.py +0 -0
  143. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/bookmarkresult.py +0 -0
  144. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/bookmarkstatus.py +0 -0
  145. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/case.py +0 -0
  146. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/caseadditionalattributes.py +0 -0
  147. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/caseanswer.py +0 -0
  148. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/casebase.py +0 -0
  149. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/casebaseresult.py +0 -0
  150. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/casebasesearchsettings.py +0 -0
  151. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/caselistresult.py +0 -0
  152. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/caselistresults.py +0 -0
  153. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/casequestion.py +0 -0
  154. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/casequestiondetail.py +0 -0
  155. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/casesearch.py +0 -0
  156. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/clusterid.py +0 -0
  157. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/clusterresult.py +0 -0
  158. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/clusterresults.py +0 -0
  159. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/comment.py +0 -0
  160. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/comments.py +0 -0
  161. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/compliancearticleresult.py +0 -0
  162. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/compliancearticleresultadditionalattributes.py +0 -0
  163. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/compliancearticleresults.py +0 -0
  164. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/complianceforarticle.py +0 -0
  165. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/complyarticleop.py +0 -0
  166. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/components_schemas_tag.py +0 -0
  167. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/components_schemas_tagcategory.py +0 -0
  168. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/components_schemas_taggroup.py +0 -0
  169. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/configurableattribute.py +0 -0
  170. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/configurableattributes.py +0 -0
  171. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/createbookmark.py +0 -0
  172. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/createdby.py +0 -0
  173. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/createfederatedsearchevent.py +0 -0
  174. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/createfederatedsearchresulteventop.py +0 -0
  175. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/createquickpick.py +0 -0
  176. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/createquickpickop.py +0 -0
  177. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/createsearchresulteventforconnectors.py +0 -0
  178. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/createsearchresulteventforconnectorsop.py +0 -0
  179. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/createsignedurlop.py +0 -0
  180. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/createviewedsearchresulteventforconnectors.py +0 -0
  181. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/createviewedsearchresultseventforconnectorsop.py +0 -0
  182. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/customattribute.py +0 -0
  183. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/deletebookmarkop.py +0 -0
  184. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/deletesuggestionop.py +0 -0
  185. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/department.py +0 -0
  186. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/detailfield.py +0 -0
  187. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/displayfield.py +0 -0
  188. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/dynamiccluster.py +0 -0
  189. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/dynamicsearch.py +0 -0
  190. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/editionwithcontent.py +0 -0
  191. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/exportstatus.py +0 -0
  192. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/exportstatusop.py +0 -0
  193. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/feedbackarticleforsuggestion.py +0 -0
  194. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/folderbreadcrumb.py +0 -0
  195. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/foldersummary.py +0 -0
  196. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getacknowledgedcompliancearticlesop.py +0 -0
  197. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getallarticlelistsop.py +0 -0
  198. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getallcasebasesreleasesop.py +0 -0
  199. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getallcasesop.py +0 -0
  200. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getallportalsop.py +0 -0
  201. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getallprofilesinportalop.py +0 -0
  202. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getallquickpicksop.py +0 -0
  203. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getalluserprofilesop.py +0 -0
  204. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getancestortopicsop.py +0 -0
  205. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getannouncementarticlesop.py +0 -0
  206. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticleattachmentbyidop.py +0 -0
  207. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticlebyidop.py +0 -0
  208. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticlebyidwitheditionsop.py +0 -0
  209. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticlelistdetailsop.py +0 -0
  210. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticlepermissionsbyidop.py +0 -0
  211. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticlepersonalizationop.py +0 -0
  212. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticleratingsop.py +0 -0
  213. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getarticlesintopicop.py +0 -0
  214. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getattachmentbyidinportalop.py +0 -0
  215. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getbookmarkop.py +0 -0
  216. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getcasebasereleasebyidop.py +0 -0
  217. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getcasebyidop.py +0 -0
  218. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getchildtopicsop.py +0 -0
  219. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getclusterbycasebasereleaseidop.py +0 -0
  220. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getmysubscriptionop.py +0 -0
  221. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getpendingcompliancearticlesop.py +0 -0
  222. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getpopulararticlesop.py +0 -0
  223. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getportaldetailsbyidop.py +0 -0
  224. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getrelatedarticlesforsuggestionop.py +0 -0
  225. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getrelatedarticlesop.py +0 -0
  226. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getsuggestionattachmentbyidop.py +0 -0
  227. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getsuggestionattachmentsop.py +0 -0
  228. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getsuggestioncommentsop.py +0 -0
  229. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getsuggestionop.py +0 -0
  230. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/gettagcategoriesforinterestforportalop.py +0 -0
  231. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/gettopicbreadcrumbforarticleop.py +0 -0
  232. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getuserdetailsop.py +0 -0
  233. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/getusermilestonesop.py +0 -0
  234. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/ghsearchrequest.py +0 -0
  235. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/ghsearchresult.py +0 -0
  236. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/ghstepsearchrequest.py +0 -0
  237. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/image.py +0 -0
  238. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/importstatus.py +0 -0
  239. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/kblanguage.py +0 -0
  240. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/kblanguagecode.py +0 -0
  241. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/kblanguages.py +0 -0
  242. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/l10nstring.py +0 -0
  243. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/languagecode.py +0 -0
  244. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/link.py +0 -0
  245. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/makesuggestionop.py +0 -0
  246. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/metadata.py +0 -0
  247. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/milestone.py +0 -0
  248. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/milestonename.py +0 -0
  249. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/milestones.py +0 -0
  250. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/modifiedby.py +0 -0
  251. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/modifysuggestion.py +0 -0
  252. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/modifysuggestionsop.py +0 -0
  253. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/order.py +0 -0
  254. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/ownedby.py +0 -0
  255. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/paginationinfo.py +0 -0
  256. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/personalization.py +0 -0
  257. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/portal.py +0 -0
  258. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/portalresult.py +0 -0
  259. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/portalsettings.py +0 -0
  260. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/profile.py +0 -0
  261. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/profileresult.py +0 -0
  262. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/publishview.py +0 -0
  263. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/question.py +0 -0
  264. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/questionandanswer.py +0 -0
  265. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/quickpickrating.py +0 -0
  266. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/quickpickresult.py +0 -0
  267. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/quickpickresults.py +0 -0
  268. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/ratearticleop.py +0 -0
  269. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/rejectghsolutionop.py +0 -0
  270. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/relatedquestions.py +0 -0
  271. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/restorequickpickop.py +0 -0
  272. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/role.py +0 -0
  273. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/roletemplate.py +0 -0
  274. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/schemas_answer.py +0 -0
  275. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/schemas_customattribute.py +0 -0
  276. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/schemas_link.py +0 -0
  277. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/schemas_tag.py +0 -0
  278. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/schemas_tagcategory.py +0 -0
  279. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/schemas_taggroup.py +0 -0
  280. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/schemas_tags.py +0 -0
  281. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/schemas_wserrorcommon.py +0 -0
  282. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/searchfilterattribute.py +0 -0
  283. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/security.py +0 -0
  284. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/selectuserprofileop.py +0 -0
  285. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/sessioncontextvariable.py +0 -0
  286. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/shorturl.py +0 -0
  287. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/sortidname.py +0 -0
  288. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/sortidnamedepartment.py +0 -0
  289. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/stage.py +0 -0
  290. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/startghsearchop.py +0 -0
  291. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/startquestionandanswer.py +0 -0
  292. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/stepghsearchop.py +0 -0
  293. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/stringattributevalue.py +0 -0
  294. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/structuredauthoringfields.py +0 -0
  295. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/subscribearticleop.py +0 -0
  296. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/suggestionadditionalattributes.py +0 -0
  297. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/suggestionattachment.py +0 -0
  298. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/suggestions.py +0 -0
  299. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/tag.py +0 -0
  300. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/tagcategoriesforinterest.py +0 -0
  301. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/tagcategory.py +0 -0
  302. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/taggroup.py +0 -0
  303. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/taggroups.py +0 -0
  304. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/tags.py +0 -0
  305. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/topic.py +0 -0
  306. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/topicadditionalattributes.py +0 -0
  307. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/topicbreadcrumb.py +0 -0
  308. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/topicresult.py +0 -0
  309. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/topicsummary.py +0 -0
  310. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/topictreenode.py +0 -0
  311. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/topictreeresult.py +0 -0
  312. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/unsubscribearticleop.py +0 -0
  313. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/userdetails.py +0 -0
  314. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/userprofile.py +0 -0
  315. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/userprofiles.py +0 -0
  316. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/userview.py +0 -0
  317. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/virtualcase.py +0 -0
  318. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/workflow.py +0 -0
  319. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/workflowmilestone.py +0 -0
  320. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/models/wserrorcommon.py +0 -0
  321. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/populararticles.py +0 -0
  322. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/portal_bookmark.py +0 -0
  323. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/portal_userdetails.py +0 -0
  324. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/portal_userprofile.py +0 -0
  325. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/py.typed +0 -0
  326. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/sdkconfiguration.py +0 -0
  327. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/types/__init__.py +0 -0
  328. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/types/basemodel.py +0 -0
  329. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/usermilestones.py +0 -0
  330. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/utils/__init__.py +0 -0
  331. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/utils/annotations.py +0 -0
  332. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/utils/datetimes.py +0 -0
  333. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/utils/enums.py +0 -0
  334. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/utils/eventstreaming.py +0 -0
  335. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/utils/forms.py +0 -0
  336. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/utils/headers.py +0 -0
  337. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/utils/logger.py +0 -0
  338. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/utils/metadata.py +0 -0
  339. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/utils/queryparams.py +0 -0
  340. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/utils/requestbodies.py +0 -0
  341. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/utils/retries.py +0 -0
  342. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/utils/security.py +0 -0
  343. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/utils/serializers.py +0 -0
  344. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/utils/unmarshal_json_response.py +0 -0
  345. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/utils/url.py +0 -0
  346. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python/utils/values.py +0 -0
  347. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python.egg-info/dependency_links.txt +0 -0
  348. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python.egg-info/requires.txt +0 -0
  349. {egain_api_python-0.1.10 → egain_api_python-0.2.1}/src/egain_api_python.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: egain-api-python
3
- Version: 0.1.10
3
+ Version: 0.2.1
4
4
  Summary: Python Client SDK Generated by Speakeasy.
5
5
  Author: Speakeasy
6
6
  Requires-Python: >=3.9.2
@@ -71,7 +71,6 @@ For more information about the API: [Full SDK Documentation](https://github.com/
71
71
  * [SDK Example Usage](#sdk-example-usage)
72
72
  * [Authentication](#authentication)
73
73
  * [Available Resources and Operations](#available-resources-and-operations)
74
- * [File uploads](#file-uploads)
75
74
  * [Retries](#retries)
76
75
  * [Error Handling](#error-handling)
77
76
  * [Server Selection](#server-selection)
@@ -175,7 +174,7 @@ with Egain(
175
174
  access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
176
175
  ) as egain:
177
176
 
178
- res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", language="en-US", filter_user_profile_id="PROD-3210", filter_tags={
177
+ res = egain.aiservices.retrieve.retrieve_chunks(q="What is a loan?", portal_id="PROD-1000", language="en-US", filter_user_profile_id="PROD-1030", filter_tags={
179
178
  "PROD-1234": [
180
179
  "PROD-2000",
181
180
  "PROD-2003",
@@ -185,7 +184,7 @@ with Egain(
185
184
  ],
186
185
  }, channel={
187
186
  "name": "Eight Bank Website",
188
- })
187
+ }, event_id="6154589f-b43f-4471-b2c7-92c6c888a664", client_session_id="6154589f-b43f-4471-b2c7-92c6c888a643", session_id="6154589f-b43f-4471-b2c7-92c6c888a689")
189
188
 
190
189
  # Handle response
191
190
  print(res)
@@ -207,7 +206,7 @@ async def main():
207
206
  access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
208
207
  ) as egain:
209
208
 
210
- res = await egain.aiservices.retrieve.retrieve_chunks_async(q="fair lending", portal_id="PROD-1000", language="en-US", filter_user_profile_id="PROD-3210", filter_tags={
209
+ res = await egain.aiservices.retrieve.retrieve_chunks_async(q="What is a loan?", portal_id="PROD-1000", language="en-US", filter_user_profile_id="PROD-1030", filter_tags={
211
210
  "PROD-1234": [
212
211
  "PROD-2000",
213
212
  "PROD-2003",
@@ -217,7 +216,7 @@ async def main():
217
216
  ],
218
217
  }, channel={
219
218
  "name": "Eight Bank Website",
220
- })
219
+ }, event_id="6154589f-b43f-4471-b2c7-92c6c888a664", client_session_id="6154589f-b43f-4471-b2c7-92c6c888a643", session_id="6154589f-b43f-4471-b2c7-92c6c888a689")
221
220
 
222
221
  # Handle response
223
222
  print(res)
@@ -247,17 +246,7 @@ with Egain(
247
246
  access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
248
247
  ) as egain:
249
248
 
250
- res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", language="en-US", filter_user_profile_id="PROD-3210", filter_tags={
251
- "PROD-1234": [
252
- "PROD-2000",
253
- "PROD-2003",
254
- ],
255
- "PROD-2005": [
256
- "PROD-2007",
257
- ],
258
- }, channel={
259
- "name": "Eight Bank Website",
260
- })
249
+ res = egain.aiservices.prompt.execute_prompt(prompt_id="<id>", department="Service", language_code="en-US", event_type="generate", client_session_id="123e4567-e89b-12d3-a456-426614174000", streaming=False)
261
250
 
262
251
  # Handle response
263
252
  print(res)
@@ -271,172 +260,147 @@ with Egain(
271
260
  <details open>
272
261
  <summary>Available methods</summary>
273
262
 
274
- #### [aiservices.answers](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/answers/README.md)
263
+ #### [aiservices.answers](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/answers/README.md)
275
264
 
276
- * [get_best_answer](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/answers/README.md#get_best_answer) - Get the best answer for a user query
265
+ * [get_best_answer](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/answers/README.md#get_best_answer) - Generate an Answer
277
266
 
278
- #### [aiservices.retrieve](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/retrieve/README.md)
267
+ #### [aiservices.prompt](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/aiservicesprompt/README.md)
279
268
 
280
- * [retrieve_chunks](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/retrieve/README.md#retrieve_chunks) - Retrieve Chunks
269
+ * [execute_prompt](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/aiservicesprompt/README.md#execute_prompt) - Execute a predefined prompt
281
270
 
282
- #### [content.import_](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/import/README.md)
271
+ #### [aiservices.retrieve](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/retrieve/README.md)
283
272
 
284
- * [create_import_job](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/import/README.md#create_import_job) - Import content from external sources by creating an import job
285
- * [get_import_status](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/import/README.md#get_import_status) - Get the current status of an import or validation job
286
- * [create_import_validation_job](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/import/README.md#create_import_validation_job) - Validate content structure and format before import by creating an import validation job
287
- * [cancel_import](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/import/README.md#cancel_import) - Cancel an import or validation job
273
+ * [retrieve_chunks](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/retrieve/README.md#retrieve_chunks) - Retrieve Chunks
288
274
 
289
- #### [portal.article](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md)
275
+ #### [content.import_](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/import/README.md)
290
276
 
291
- * [get_article_by_id](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#get_article_by_id) - Get Article by ID
292
- * [get_article_by_id_with_editions](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#get_article_by_id_with_editions) - Get Article By ID with Editions
293
- * [get_article_edition_details](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#get_article_edition_details) - Get Article Edition Details
294
- * [add_to_reply](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#add_to_reply) - Add Article to Reply
295
- * [add_as_reference](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#add_as_reference) - Add as Reference
296
- * [get_articles_in_topic](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#get_articles_in_topic) - Get Articles in Topic
297
- * [get_article_attachment_by_id](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#get_article_attachment_by_id) - Get Article Attachment By ID
298
- * [get_attachment_by_id_in_portal](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#get_attachment_by_id_in_portal) - Get Article Attachment in Portal
299
- * [get_related_articles](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#get_related_articles) - Get Related Articles
300
- * [get_announcement_articles](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#get_announcement_articles) - Get Announcement Articles
301
- * [get_article_ratings](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#get_article_ratings) - Get Article Ratings
302
- * [rate_article](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#rate_article) - Rate an Article
303
- * [get_pending_compliance_articles](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#get_pending_compliance_articles) - Get Pending Article Compliances
304
- * [get_acknowledged_compliance_articles](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#get_acknowledged_compliance_articles) - Get Acknowledged Article Compliances
305
- * [comply_article](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#comply_article) - Comply With an Article
306
- * [get_my_subscription](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#get_my_subscription) - My Subscription
307
- * [subscribe_article](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#subscribe_article) - Subscribe to an Article
308
- * [unsubscribe_article](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#unsubscribe_article) - Unsubscribe to an Article
309
- * [get_article_permissions_by_id](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#get_article_permissions_by_id) - Get Article Permissions By ID
310
- * [get_article_personalization](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalarticle/README.md#get_article_personalization) - Get Article Personalization Details
277
+ * [create_import_job](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/import/README.md#create_import_job) - Create Import Job
278
+ * [get_import_status](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/import/README.md#get_import_status) - Get Job Status
279
+ * [create_import_validation_job](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/import/README.md#create_import_validation_job) - Create Validation Job
280
+ * [cancel_import](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/import/README.md#cancel_import) - Cancel Job
311
281
 
312
- #### [portal.articlelists](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/articlelists/README.md)
282
+ #### [portal.article](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md)
313
283
 
314
- * [get_all_article_lists](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/articlelists/README.md#get_all_article_lists) - Get All Article Lists
315
- * [get_article_list_details](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/articlelists/README.md#get_article_list_details) - Get Article List by ID
284
+ * [get_article_by_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_article_by_id) - Get Article by ID
285
+ * [get_article_by_id_with_editions](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_article_by_id_with_editions) - Get Article By ID with Editions
286
+ * [get_article_edition_details](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_article_edition_details) - Get Article Edition Details
287
+ * [add_to_reply](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#add_to_reply) - Add Article to Reply
288
+ * [add_as_reference](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#add_as_reference) - Add as Reference
289
+ * [get_articles_in_topic](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_articles_in_topic) - Get Articles in Topic
290
+ * [get_article_attachment_by_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_article_attachment_by_id) - Get Article Attachment By ID
291
+ * [get_attachment_by_id_in_portal](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_attachment_by_id_in_portal) - Get Article Attachment in Portal
292
+ * [get_related_articles](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_related_articles) - Get Related Articles
293
+ * [get_announcement_articles](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_announcement_articles) - Get Announcement Articles
294
+ * [get_article_ratings](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_article_ratings) - Get Article Ratings
295
+ * [rate_article](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#rate_article) - Rate an Article
296
+ * [get_pending_compliance_articles](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_pending_compliance_articles) - Get Pending Article Compliances
297
+ * [get_acknowledged_compliance_articles](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_acknowledged_compliance_articles) - Get Acknowledged Article Compliances
298
+ * [comply_article](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#comply_article) - Comply With an Article
299
+ * [get_my_subscription](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_my_subscription) - My Subscription
300
+ * [subscribe_article](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#subscribe_article) - Subscribe to an Article
301
+ * [unsubscribe_article](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#unsubscribe_article) - Unsubscribe to an Article
302
+ * [get_article_permissions_by_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_article_permissions_by_id) - Get Article Permissions By ID
303
+ * [get_article_personalization](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalarticle/README.md#get_article_personalization) - Get Article Personalization Details
316
304
 
317
- #### [portal.attachment](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalattachment/README.md)
305
+ #### [portal.articlelists](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/articlelists/README.md)
318
306
 
319
- * [create_signed_url](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalattachment/README.md#create_signed_url) - Generate Signed URL to Upload API
320
- * [upload_attachment](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalattachment/README.md#upload_attachment) - Upload Attachment
307
+ * [get_all_article_lists](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/articlelists/README.md#get_all_article_lists) - Get All Article Lists
308
+ * [get_article_list_details](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/articlelists/README.md#get_article_list_details) - Get Article List by ID
321
309
 
322
- #### [portal.bookmark](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalbookmark/README.md)
310
+ #### [portal.attachment](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalattachment/README.md)
323
311
 
324
- * [addbookmark](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalbookmark/README.md#addbookmark) - Add a Bookmark
325
- * [getbookmark](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalbookmark/README.md#getbookmark) - Get All Bookmarks for a Portal
326
- * [deletebookmark](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalbookmark/README.md#deletebookmark) - Delete a Bookmark
312
+ * [create_signed_url](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalattachment/README.md#create_signed_url) - Generate Signed URL to Upload API
327
313
 
328
- #### [portal.connectorssearchevents](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/connectorssearchevents/README.md)
314
+ #### [portal.bookmark](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalbookmark/README.md)
329
315
 
330
- * [create_search_result_event_for_connectors](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/connectorssearchevents/README.md#create_search_result_event_for_connectors) - Event for Search Using Connectors
331
- * [create_viewed_search_results_event_for_connectors](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/connectorssearchevents/README.md#create_viewed_search_results_event_for_connectors) - Event for Viewed Search Results Using Connectors
316
+ * [addbookmark](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalbookmark/README.md#addbookmark) - Add a Bookmark
317
+ * [getbookmark](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalbookmark/README.md#getbookmark) - Get All Bookmarks for a Portal
318
+ * [deletebookmark](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalbookmark/README.md#deletebookmark) - Delete a Bookmark
332
319
 
333
- #### [portal.escalation](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/escalation/README.md)
320
+ #### [portal.connectorssearchevents](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/connectorssearchevents/README.md)
334
321
 
335
- * [start_customer_escalation](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/escalation/README.md#start_customer_escalation) - Start Customer Escalation
336
- * [search_prior_to_escalation](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/escalation/README.md#search_prior_to_escalation) - Search Prior To Customer Escalation
337
- * [complete_customer_escalation](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/escalation/README.md#complete_customer_escalation) - Complete Customer Escalation
338
- * [avert_customer_escalation](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/escalation/README.md#avert_customer_escalation) - Avert Customer Escalation
322
+ * [create_search_result_event_for_connectors](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/connectorssearchevents/README.md#create_search_result_event_for_connectors) - Event for Search Using Connectors
323
+ * [create_viewed_search_results_event_for_connectors](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/connectorssearchevents/README.md#create_viewed_search_results_event_for_connectors) - Event for Viewed Search Results Using Connectors
339
324
 
340
- #### [portal.export](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/export/README.md)
325
+ #### [portal.export](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/export/README.md)
341
326
 
342
- * [export_content](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/export/README.md#export_content) - Export Knowledge
343
- * [export_status](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/export/README.md#export_status) - Get Export Job Status
327
+ * [export_content](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/export/README.md#export_content) - Export Knowledge
328
+ * [export_status](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/export/README.md#export_status) - Get Export Job Status
344
329
 
345
- #### [portal.federatedsearchevent](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/federatedsearchevent/README.md)
330
+ #### [portal.federatedsearchevent](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/federatedsearchevent/README.md)
346
331
 
347
- * [create_federated_search_result_event](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/federatedsearchevent/README.md#create_federated_search_result_event) - Event For Viewed Federated Search Result
332
+ * [create_federated_search_result_event](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/federatedsearchevent/README.md#create_federated_search_result_event) - Event For Viewed Federated Search Result
348
333
 
349
- #### [portal.general](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/general/README.md)
334
+ #### [portal.general](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/general/README.md)
350
335
 
351
- * [get_all_portals](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/general/README.md#get_all_portals) - Get All Portals
352
- * [get_my_portals](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/general/README.md#get_my_portals) - Get All Portals Accessible To User
353
- * [get_portal_details_by_id](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/general/README.md#get_portal_details_by_id) - Get Portal Details By ID
354
- * [get_tag_categories_for_interest_for_portal](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/general/README.md#get_tag_categories_for_interest_for_portal) - Get Tag Categories for Interest for a Portal
336
+ * [get_all_portals](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/general/README.md#get_all_portals) - Get All Portals
337
+ * [get_my_portals](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/general/README.md#get_my_portals) - Get All Portals Accessible To User
338
+ * [get_portal_details_by_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/general/README.md#get_portal_details_by_id) - Get Portal Details By ID
339
+ * [get_tag_categories_for_interest_for_portal](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/general/README.md#get_tag_categories_for_interest_for_portal) - Get Tag Categories for Interest for a Portal
355
340
 
356
- #### [portal.guidedhelp](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/guidedhelp/README.md)
341
+ #### [portal.guidedhelp](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md)
357
342
 
358
- * [get_all_casebases_releases](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/guidedhelp/README.md#get_all_casebases_releases) - Get Available Casebases Releases
359
- * [get_casebase_release_by_id](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/guidedhelp/README.md#get_casebase_release_by_id) - Get Details of a Casebase Release
360
- * [get_cluster_by_casebase_release_id](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/guidedhelp/README.md#get_cluster_by_casebase_release_id) - Get Cluster Details of a Casebase Release
361
- * [get_all_profiles_in_portal](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/guidedhelp/README.md#get_all_profiles_in_portal) - Get All Profiles Available in Portal
362
- * [start_gh_search](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/guidedhelp/README.md#start_gh_search) - Start a Guided Help Search
363
- * [step_gh_search](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/guidedhelp/README.md#step_gh_search) - Perform a Step in a Guided Help Search
364
- * [get_all_cases](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/guidedhelp/README.md#get_all_cases) - Get All Cases of a Cluster in Release
365
- * [get_case_by_id](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/guidedhelp/README.md#get_case_by_id) - Get Details of a Case
366
- * [accept_gh_solution](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/guidedhelp/README.md#accept_gh_solution) - Accept Solution
367
- * [reject_gh_solution](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/guidedhelp/README.md#reject_gh_solution) - Reject Solution
368
- * [create_quickpick](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/guidedhelp/README.md#create_quickpick) - Create Quickpick
369
- * [get_all_quick_picks](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/guidedhelp/README.md#get_all_quick_picks) - Get All Quickpicks for a Portal
370
- * [restore_quickpick](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/guidedhelp/README.md#restore_quickpick) - Resume a Quickpick
343
+ * [get_all_casebases_releases](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#get_all_casebases_releases) - Get Available Casebases Releases
344
+ * [get_casebase_release_by_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#get_casebase_release_by_id) - Get Details of a Casebase Release
345
+ * [get_cluster_by_casebase_release_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#get_cluster_by_casebase_release_id) - Get Cluster Details of a Casebase Release
346
+ * [get_all_profiles_in_portal](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#get_all_profiles_in_portal) - Get All Profiles Available in Portal
347
+ * [start_gh_search](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#start_gh_search) - Start a Guided Help Search
348
+ * [step_gh_search](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#step_gh_search) - Perform a Step in a Guided Help Search
349
+ * [get_all_cases](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#get_all_cases) - Get All Cases of a Cluster in Release
350
+ * [get_case_by_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#get_case_by_id) - Get Details of a Case
351
+ * [accept_gh_solution](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#accept_gh_solution) - Accept Solution
352
+ * [reject_gh_solution](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#reject_gh_solution) - Reject Solution
353
+ * [create_quickpick](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#create_quickpick) - Create Quickpick
354
+ * [get_all_quick_picks](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#get_all_quick_picks) - Get All Quickpicks for a Portal
355
+ * [restore_quickpick](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/guidedhelp/README.md#restore_quickpick) - Resume a Quickpick
371
356
 
372
- #### [portal.populararticles](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/populararticles/README.md)
357
+ #### [portal.populararticles](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/populararticles/README.md)
373
358
 
374
- * [getpopulararticles](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/populararticles/README.md#getpopulararticles) - Get Popular Articles
359
+ * [getpopulararticles](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/populararticles/README.md#getpopulararticles) - Get Popular Articles
375
360
 
376
- #### [portal.search](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/search/README.md)
361
+ #### [portal.search](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/search/README.md)
377
362
 
378
- * [ai_search](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/search/README.md#ai_search) - Get the best search results for a user query
363
+ * [ai_search](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/search/README.md#ai_search) - Hybrid Search
379
364
 
380
- #### [portal.suggestion](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalsuggestion/README.md)
365
+ #### [portal.suggestion](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md)
381
366
 
382
- * [make_suggestion](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalsuggestion/README.md#make_suggestion) - Make a Suggestion
383
- * [modify_suggestions](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalsuggestion/README.md#modify_suggestions) - Modify Suggestion
384
- * [search_suggestion](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalsuggestion/README.md#search_suggestion) - Get Suggestion by Status
385
- * [get_suggestion](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalsuggestion/README.md#get_suggestion) - Get Suggestion by ID
386
- * [delete_suggestion](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalsuggestion/README.md#delete_suggestion) - Delete a Suggestion
387
- * [get_related_articles_for_suggestion](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalsuggestion/README.md#get_related_articles_for_suggestion) - Get Related Articles for Suggestion
388
- * [get_suggestion_comments](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalsuggestion/README.md#get_suggestion_comments) - Get Suggestion Comments
389
- * [get_suggestion_attachments](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalsuggestion/README.md#get_suggestion_attachments) - Get Suggestion Attachments
390
- * [get_suggestion_attachment_by_id](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portalsuggestion/README.md#get_suggestion_attachment_by_id) - Get Suggestion Attachment by ID
367
+ * [make_suggestion](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#make_suggestion) - Make a Suggestion
368
+ * [modify_suggestions](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#modify_suggestions) - Modify Suggestion
369
+ * [search_suggestion](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#search_suggestion) - Get Suggestion by Status
370
+ * [get_suggestion](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#get_suggestion) - Get Suggestion by ID
371
+ * [delete_suggestion](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#delete_suggestion) - Delete a Suggestion
372
+ * [get_related_articles_for_suggestion](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#get_related_articles_for_suggestion) - Get Related Articles for Suggestion
373
+ * [get_suggestion_comments](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#get_suggestion_comments) - Get Suggestion Comments
374
+ * [get_suggestion_attachments](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#get_suggestion_attachments) - Get Suggestion Attachments
375
+ * [get_suggestion_attachment_by_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portalsuggestion/README.md#get_suggestion_attachment_by_id) - Get Suggestion Attachment by ID
391
376
 
392
- #### [portal.topic](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portaltopic/README.md)
377
+ #### [portal.topic](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaltopic/README.md)
393
378
 
394
- * [get_topic_breadcrumb_for_article](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portaltopic/README.md#get_topic_breadcrumb_for_article) - Get Topic Breadcrumb for Article
395
- * [getchildtopics](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portaltopic/README.md#getchildtopics) - Get Immediate Child Topics
396
- * [getancestortopics](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portaltopic/README.md#getancestortopics) - Get All Ancestor Topics
397
- * [getalltopics](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portaltopic/README.md#getalltopics) - Get All Topics
379
+ * [get_topic_breadcrumb_for_article](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaltopic/README.md#get_topic_breadcrumb_for_article) - Get Topic Breadcrumb for Article
380
+ * [getchildtopics](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaltopic/README.md#getchildtopics) - Get Immediate Child Topics
381
+ * [getancestortopics](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaltopic/README.md#getancestortopics) - Get All Ancestor Topics
382
+ * [getalltopics](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaltopic/README.md#getalltopics) - Get All Topics
398
383
 
399
- #### [portal.userdetails](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portaluserdetails/README.md)
384
+ #### [portal.userdetails](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaluserdetails/README.md)
400
385
 
401
- * [get_user_details](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portaluserdetails/README.md#get_user_details) - Get User Details
386
+ * [get_user_details](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaluserdetails/README.md#get_user_details) - Get User Details
402
387
 
403
- #### [portal.usermilestones](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/usermilestones/README.md)
388
+ #### [portal.usermilestones](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/usermilestones/README.md)
404
389
 
405
- * [get_user_milestones](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/usermilestones/README.md#get_user_milestones) - Get User Milestones
390
+ * [get_user_milestones](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/usermilestones/README.md#get_user_milestones) - Get User Milestones
406
391
 
407
- #### [portal.userprofile](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portaluserprofile/README.md)
392
+ #### [portal.userprofile](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaluserprofile/README.md)
408
393
 
409
- * [get_all_user_profiles](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portaluserprofile/README.md#get_all_user_profiles) - Get All User Profiles Assigned to User
410
- * [select_user_profile](https://github.com/eGain/egain-api-typescript/blob/main/docs/sdks/portaluserprofile/README.md#select_user_profile) - Select User Profile
394
+ * [get_all_user_profiles](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaluserprofile/README.md#get_all_user_profiles) - Get All User Profiles Assigned to User
395
+ * [select_user_profile](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/portaluserprofile/README.md#select_user_profile) - Select User Profile
411
396
 
412
- </details>
413
- <!-- End Available Resources and Operations [operations] -->
414
-
415
- <!-- Start File uploads [file-upload] -->
416
- ## File uploads
417
-
418
- Certain SDK methods accept file objects as part of a request body or multi-part request. It is possible and typically recommended to upload files as a stream rather than reading the entire contents into memory. This avoids excessive memory consumption and potentially crashing with out-of-memory errors when working with very large files. The following example demonstrates how to attach a file stream to a request.
397
+ ### [prompt](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/prompt/README.md)
419
398
 
420
- > [!TIP]
421
- >
422
- > For endpoints that handle file uploads bytes arrays can also be used. However, using streams is recommended for large files.
423
- >
399
+ * [get_prompt_templates](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/prompt/README.md#get_prompt_templates) - Get Prompt Templates
400
+ * [get_prompt_template_by_id](https://github.com/eGain/egain-api-python/blob/main/docs/sdks/prompt/README.md#get_prompt_template_by_id) - Get Prompt Template By ID
424
401
 
425
- ```python
426
- from egain_api_python import Egain
427
- import os
428
-
429
-
430
- with Egain(
431
- access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
432
- ) as egain:
433
-
434
- egain.portal.attachment.upload_attachment(accept_language="en-US", signature="<value>", request_body=open("example.file", "rb"))
435
-
436
- # Use the SDK ...
437
-
438
- ```
439
- <!-- End File uploads [file-upload] -->
402
+ </details>
403
+ <!-- End Available Resources and Operations [operations] -->
440
404
 
441
405
  <!-- Start Retries [retries] -->
442
406
  ## Retries
@@ -454,17 +418,7 @@ with Egain(
454
418
  access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
455
419
  ) as egain:
456
420
 
457
- res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", language="en-US", filter_user_profile_id="PROD-3210", filter_tags={
458
- "PROD-1234": [
459
- "PROD-2000",
460
- "PROD-2003",
461
- ],
462
- "PROD-2005": [
463
- "PROD-2007",
464
- ],
465
- }, channel={
466
- "name": "Eight Bank Website",
467
- },
421
+ res = egain.aiservices.prompt.execute_prompt(prompt_id="<id>", department="Service", language_code="en-US", event_type="generate", client_session_id="123e4567-e89b-12d3-a456-426614174000", streaming=False,
468
422
  RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
469
423
 
470
424
  # Handle response
@@ -484,17 +438,7 @@ with Egain(
484
438
  access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
485
439
  ) as egain:
486
440
 
487
- res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", language="en-US", filter_user_profile_id="PROD-3210", filter_tags={
488
- "PROD-1234": [
489
- "PROD-2000",
490
- "PROD-2003",
491
- ],
492
- "PROD-2005": [
493
- "PROD-2007",
494
- ],
495
- }, channel={
496
- "name": "Eight Bank Website",
497
- })
441
+ res = egain.aiservices.prompt.execute_prompt(prompt_id="<id>", department="Service", language_code="en-US", event_type="generate", client_session_id="123e4567-e89b-12d3-a456-426614174000", streaming=False)
498
442
 
499
443
  # Handle response
500
444
  print(res)
@@ -505,7 +449,7 @@ with Egain(
505
449
  <!-- Start Error Handling [errors] -->
506
450
  ## Error Handling
507
451
 
508
- [`EgainError`](./src/egain_api_python/errors/egainerror.py) is the base class for all HTTP error responses. It has the following properties:
452
+ [`EgainError`](https://github.com/eGain/egain-api-python/blob/main/src/egain_api_python/errors/egainerror.py) is the base class for all HTTP error responses. It has the following properties:
509
453
 
510
454
  | Property | Type | Description |
511
455
  | ------------------ | ---------------- | --------------------------------------------------------------------------------------- |
@@ -519,7 +463,6 @@ with Egain(
519
463
  ### Example
520
464
  ```python
521
465
  from egain_api_python import Egain, errors
522
- from egain_api_python.utils import parse_datetime
523
466
  import os
524
467
 
525
468
 
@@ -529,14 +472,7 @@ with Egain(
529
472
  res = None
530
473
  try:
531
474
 
532
- res = egain.content.import_.create_import_job(data_source={
533
- "type": "AWS S3 bucket",
534
- "path": "s3://mybucket/myfolder/",
535
- "region": "us-east-1",
536
- "credentials": {},
537
- }, operation="import", schedule_time={
538
- "date_": parse_datetime("2024-03-01T10:00:00.000Z"),
539
- })
475
+ res = egain.aiservices.prompt.execute_prompt(prompt_id="<id>", department="Service", language_code="en-US", event_type="generate", client_session_id="123e4567-e89b-12d3-a456-426614174000", streaming=False)
540
476
 
541
477
  # Handle response
542
478
  print(res)
@@ -551,19 +487,17 @@ with Egain(
551
487
  print(e.raw_response)
552
488
 
553
489
  # Depending on the method different errors may be thrown
554
- if isinstance(e, errors.WSErrorCommon):
555
- print(e.data.code) # str
556
- print(e.data.developer_message) # str
557
- print(e.data.details) # Optional[List[models.WSErrorCommonDetail]]
558
- print(e.data.user_message) # Optional[str]
490
+ if isinstance(e, errors.BadRequestError):
491
+ print(e.data.code) # Optional[int]
492
+ print(e.data.developer_message) # Optional[str]
559
493
  ```
560
494
 
561
495
  ### Error Classes
562
496
  **Primary errors:**
563
- * [`EgainError`](./src/egain_api_python/errors/egainerror.py): The base class for HTTP error responses.
564
- * [`WSErrorCommon`](./src/egain_api_python/errors/wserrorcommon.py): Bad Request. *
497
+ * [`EgainError`](https://github.com/eGain/egain-api-python/blob/main/src/egain_api_python/errors/egainerror.py): The base class for HTTP error responses.
498
+ * [`WSErrorCommon`](https://github.com/eGain/egain-api-python/blob/main/src/egain_api_python/errors/wserrorcommon.py): Bad Request. *
565
499
 
566
- <details><summary>Less common errors (6)</summary>
500
+ <details><summary>Less common errors (7)</summary>
567
501
 
568
502
  <br />
569
503
 
@@ -573,9 +507,10 @@ with Egain(
573
507
  * [`httpx.TimeoutException`](https://www.python-httpx.org/exceptions/#httpx.TimeoutException): HTTP request timed out.
574
508
 
575
509
 
576
- **Inherit from [`EgainError`](./src/egain_api_python/errors/egainerror.py)**:
577
- * [`SchemasWSErrorCommon`](./src/egain_api_python/errors/schemaswserrorcommon.py): Preconditions failed. Status code `412`. Applicable to 2 of 78 methods.*
578
- * [`ResponseValidationError`](./src/egain_api_python/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
510
+ **Inherit from [`EgainError`](https://github.com/eGain/egain-api-python/blob/main/src/egain_api_python/errors/egainerror.py)**:
511
+ * [`SchemasWSErrorCommon`](https://github.com/eGain/egain-api-python/blob/main/src/egain_api_python/errors/schemaswserrorcommon.py): Not acceptable. Applicable to 4 of 76 methods.*
512
+ * [`BadRequestError`](https://github.com/eGain/egain-api-python/blob/main/src/egain_api_python/errors/badrequesterror.py): Bad Request. Status code `400`. Applicable to 1 of 76 methods.*
513
+ * [`ResponseValidationError`](https://github.com/eGain/egain-api-python/blob/main/src/egain_api_python/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
579
514
 
580
515
  </details>
581
516
 
@@ -598,17 +533,7 @@ with Egain(
598
533
  access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
599
534
  ) as egain:
600
535
 
601
- res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", language="en-US", filter_user_profile_id="PROD-3210", filter_tags={
602
- "PROD-1234": [
603
- "PROD-2000",
604
- "PROD-2003",
605
- ],
606
- "PROD-2005": [
607
- "PROD-2007",
608
- ],
609
- }, channel={
610
- "name": "Eight Bank Website",
611
- })
536
+ res = egain.aiservices.prompt.execute_prompt(prompt_id="<id>", department="Service", language_code="en-US", event_type="generate", client_session_id="123e4567-e89b-12d3-a456-426614174000", streaming=False)
612
537
 
613
538
  # Handle response
614
539
  print(res)
@@ -627,17 +552,7 @@ with Egain(
627
552
  access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
628
553
  ) as egain:
629
554
 
630
- res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", language="en-US", filter_user_profile_id="PROD-3210", filter_tags={
631
- "PROD-1234": [
632
- "PROD-2000",
633
- "PROD-2003",
634
- ],
635
- "PROD-2005": [
636
- "PROD-2007",
637
- ],
638
- }, channel={
639
- "name": "Eight Bank Website",
640
- }, server_url="https://api.aidev.egain.cloud/core/aiservices/v4")
555
+ res = egain.aiservices.prompt.execute_prompt(prompt_id="<id>", department="Service", language_code="en-US", event_type="generate", client_session_id="123e4567-e89b-12d3-a456-426614174000", streaming=False, server_url="https://api.aidev.egain.cloud/core/aiservices/v4")
641
556
 
642
557
  # Handle response
643
558
  print(res)