egain-api-python 0.1.1__py3-none-any.whl → 0.1.2__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.
- egain_api_python/_version.py +2 -2
- egain_api_python/answers.py +8 -8
- egain_api_python/models/__init__.py +22 -22
- egain_api_python/models/{post_portalid_answersop.py → getbestanswerop.py} +3 -3
- egain_api_python/models/{post_portalid_retrieveop.py → retrievechunksop.py} +3 -3
- egain_api_python/retrieve.py +8 -8
- {egain_api_python-0.1.1.dist-info → egain_api_python-0.1.2.dist-info}/METADATA +11 -11
- {egain_api_python-0.1.1.dist-info → egain_api_python-0.1.2.dist-info}/RECORD +11 -11
- {egain_api_python-0.1.1.dist-info → egain_api_python-0.1.2.dist-info}/WHEEL +0 -0
- {egain_api_python-0.1.1.dist-info → egain_api_python-0.1.2.dist-info}/licenses/LICENSE +0 -0
- {egain_api_python-0.1.1.dist-info → egain_api_python-0.1.2.dist-info}/top_level.txt +0 -0
egain_api_python/_version.py
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
import importlib.metadata
|
4
4
|
|
5
5
|
__title__: str = "egain-api-python"
|
6
|
-
__version__: str = "0.1.
|
6
|
+
__version__: str = "0.1.2"
|
7
7
|
__openapi_doc_version__: str = "4.0.0"
|
8
8
|
__gen_version__: str = "2.721.3"
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.1.
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.1.2 2.721.3 4.0.0 egain-api-python"
|
10
10
|
|
11
11
|
try:
|
12
12
|
if __package__ is not None:
|
egain_api_python/answers.py
CHANGED
@@ -10,7 +10,7 @@ from typing import Dict, List, Mapping, Optional, Union
|
|
10
10
|
|
11
11
|
|
12
12
|
class Answers(BaseSDK):
|
13
|
-
def
|
13
|
+
def get_best_answer(
|
14
14
|
self,
|
15
15
|
*,
|
16
16
|
q: str,
|
@@ -62,12 +62,12 @@ class Answers(BaseSDK):
|
|
62
62
|
if server_url is not None:
|
63
63
|
base_url = server_url
|
64
64
|
else:
|
65
|
-
base_url = models.
|
65
|
+
base_url = models.GET_BEST_ANSWER_OP_SERVERS[0]
|
66
66
|
url_variables = {
|
67
67
|
"API_DOMAIN": "api.egain.cloud",
|
68
68
|
}
|
69
69
|
|
70
|
-
request = models.
|
70
|
+
request = models.GetBestAnswerRequest(
|
71
71
|
q=q,
|
72
72
|
portal_id=portal_id,
|
73
73
|
dollar_filter_user_profile_id=dollar_filter_user_profile_id,
|
@@ -119,7 +119,7 @@ class Answers(BaseSDK):
|
|
119
119
|
hook_ctx=HookContext(
|
120
120
|
config=self.sdk_configuration,
|
121
121
|
base_url=base_url or "",
|
122
|
-
operation_id="
|
122
|
+
operation_id="getBestAnswer",
|
123
123
|
oauth2_scopes=[],
|
124
124
|
security_source=get_security_from_env(
|
125
125
|
self.sdk_configuration.security, models.Security
|
@@ -145,7 +145,7 @@ class Answers(BaseSDK):
|
|
145
145
|
|
146
146
|
raise errors.EgainDefaultError("Unexpected response received", http_res)
|
147
147
|
|
148
|
-
async def
|
148
|
+
async def get_best_answer_async(
|
149
149
|
self,
|
150
150
|
*,
|
151
151
|
q: str,
|
@@ -197,12 +197,12 @@ class Answers(BaseSDK):
|
|
197
197
|
if server_url is not None:
|
198
198
|
base_url = server_url
|
199
199
|
else:
|
200
|
-
base_url = models.
|
200
|
+
base_url = models.GET_BEST_ANSWER_OP_SERVERS[0]
|
201
201
|
url_variables = {
|
202
202
|
"API_DOMAIN": "api.egain.cloud",
|
203
203
|
}
|
204
204
|
|
205
|
-
request = models.
|
205
|
+
request = models.GetBestAnswerRequest(
|
206
206
|
q=q,
|
207
207
|
portal_id=portal_id,
|
208
208
|
dollar_filter_user_profile_id=dollar_filter_user_profile_id,
|
@@ -254,7 +254,7 @@ class Answers(BaseSDK):
|
|
254
254
|
hook_ctx=HookContext(
|
255
255
|
config=self.sdk_configuration,
|
256
256
|
base_url=base_url or "",
|
257
|
-
operation_id="
|
257
|
+
operation_id="getBestAnswer",
|
258
258
|
oauth2_scopes=[],
|
259
259
|
security_source=get_security_from_env(
|
260
260
|
self.sdk_configuration.security, models.Security
|
@@ -393,6 +393,11 @@ if TYPE_CHECKING:
|
|
393
393
|
GetAttachmentByIDInPortalRequest,
|
394
394
|
GetAttachmentByIDInPortalRequestTypedDict,
|
395
395
|
)
|
396
|
+
from .getbestanswerop import (
|
397
|
+
GET_BEST_ANSWER_OP_SERVERS,
|
398
|
+
GetBestAnswerRequest,
|
399
|
+
GetBestAnswerRequestTypedDict,
|
400
|
+
)
|
396
401
|
from .getbookmarkop import GetbookmarkRequest, GetbookmarkRequestTypedDict
|
397
402
|
from .getcasebasereleasebyidop import (
|
398
403
|
GetCasebaseReleaseByIDRequest,
|
@@ -548,16 +553,6 @@ if TYPE_CHECKING:
|
|
548
553
|
PortalSettingsTypedDict,
|
549
554
|
SearchLearningLevel,
|
550
555
|
)
|
551
|
-
from .post_portalid_answersop import (
|
552
|
-
POST_PORTAL_ID_ANSWERS_OP_SERVERS,
|
553
|
-
PostPortalIDAnswersRequest,
|
554
|
-
PostPortalIDAnswersRequestTypedDict,
|
555
|
-
)
|
556
|
-
from .post_portalid_retrieveop import (
|
557
|
-
POST_PORTAL_ID_RETRIEVE_OP_SERVERS,
|
558
|
-
PostPortalIDRetrieveRequest,
|
559
|
-
PostPortalIDRetrieveRequestTypedDict,
|
560
|
-
)
|
561
556
|
from .profile import Profile, ProfileTypedDict
|
562
557
|
from .profileresult import ProfileResult, ProfileResultTypedDict
|
563
558
|
from .publishprofile import PublishProfile, PublishProfileTypedDict
|
@@ -591,6 +586,11 @@ if TYPE_CHECKING:
|
|
591
586
|
RestoreQuickpickRequest,
|
592
587
|
RestoreQuickpickRequestTypedDict,
|
593
588
|
)
|
589
|
+
from .retrievechunksop import (
|
590
|
+
RETRIEVE_CHUNKS_OP_SERVERS,
|
591
|
+
RetrieveChunksRequest,
|
592
|
+
RetrieveChunksRequestTypedDict,
|
593
|
+
)
|
594
594
|
from .retrieverequest import (
|
595
595
|
RetrieveRequest,
|
596
596
|
RetrieveRequestChannel,
|
@@ -1046,6 +1046,7 @@ __all__ = [
|
|
1046
1046
|
"FolderBreadcrumbTypedDict",
|
1047
1047
|
"FolderSummary",
|
1048
1048
|
"FolderSummaryTypedDict",
|
1049
|
+
"GET_BEST_ANSWER_OP_SERVERS",
|
1049
1050
|
"GET_HEALTH_OP_SERVERS",
|
1050
1051
|
"GET_IMPORT_CONTENT_OP_SERVERS",
|
1051
1052
|
"GHSearchRequest",
|
@@ -1093,6 +1094,8 @@ __all__ = [
|
|
1093
1094
|
"GetArticlesInTopicRequestTypedDict",
|
1094
1095
|
"GetAttachmentByIDInPortalRequest",
|
1095
1096
|
"GetAttachmentByIDInPortalRequestTypedDict",
|
1097
|
+
"GetBestAnswerRequest",
|
1098
|
+
"GetBestAnswerRequestTypedDict",
|
1096
1099
|
"GetCaseByIDRequest",
|
1097
1100
|
"GetCaseByIDRequestTypedDict",
|
1098
1101
|
"GetCasebaseReleaseByIDRequest",
|
@@ -1205,8 +1208,6 @@ __all__ = [
|
|
1205
1208
|
"OwnedBy",
|
1206
1209
|
"OwnedByTypedDict",
|
1207
1210
|
"PATCH_IMPORT_CONTENT_VALIDATION_OP_SERVERS",
|
1208
|
-
"POST_PORTAL_ID_ANSWERS_OP_SERVERS",
|
1209
|
-
"POST_PORTAL_ID_RETRIEVE_OP_SERVERS",
|
1210
1211
|
"PaginationInfo",
|
1211
1212
|
"PaginationInfoTypedDict",
|
1212
1213
|
"PatchImportContentValidationRequest",
|
@@ -1223,10 +1224,6 @@ __all__ = [
|
|
1223
1224
|
"PortalSettings",
|
1224
1225
|
"PortalSettingsTypedDict",
|
1225
1226
|
"PortalTypedDict",
|
1226
|
-
"PostPortalIDAnswersRequest",
|
1227
|
-
"PostPortalIDAnswersRequestTypedDict",
|
1228
|
-
"PostPortalIDRetrieveRequest",
|
1229
|
-
"PostPortalIDRetrieveRequestTypedDict",
|
1230
1227
|
"Profile",
|
1231
1228
|
"ProfileResult",
|
1232
1229
|
"ProfileResultTypedDict",
|
@@ -1253,6 +1250,7 @@ __all__ = [
|
|
1253
1250
|
"QuickpickResultTypedDict",
|
1254
1251
|
"QuickpickResults",
|
1255
1252
|
"QuickpickResultsTypedDict",
|
1253
|
+
"RETRIEVE_CHUNKS_OP_SERVERS",
|
1256
1254
|
"RateArticleRequest",
|
1257
1255
|
"RateArticleRequestTypedDict",
|
1258
1256
|
"ReferenceResponse",
|
@@ -1273,6 +1271,8 @@ __all__ = [
|
|
1273
1271
|
"ResultType",
|
1274
1272
|
"Results",
|
1275
1273
|
"ResultsTypedDict",
|
1274
|
+
"RetrieveChunksRequest",
|
1275
|
+
"RetrieveChunksRequestTypedDict",
|
1276
1276
|
"RetrieveRequest",
|
1277
1277
|
"RetrieveRequestChannel",
|
1278
1278
|
"RetrieveRequestChannelTypedDict",
|
@@ -1758,6 +1758,9 @@ _dynamic_imports: dict[str, str] = {
|
|
1758
1758
|
"GetArticlesInTopicRequestTypedDict": ".getarticlesintopicop",
|
1759
1759
|
"GetAttachmentByIDInPortalRequest": ".getattachmentbyidinportalop",
|
1760
1760
|
"GetAttachmentByIDInPortalRequestTypedDict": ".getattachmentbyidinportalop",
|
1761
|
+
"GET_BEST_ANSWER_OP_SERVERS": ".getbestanswerop",
|
1762
|
+
"GetBestAnswerRequest": ".getbestanswerop",
|
1763
|
+
"GetBestAnswerRequestTypedDict": ".getbestanswerop",
|
1761
1764
|
"GetbookmarkRequest": ".getbookmarkop",
|
1762
1765
|
"GetbookmarkRequestTypedDict": ".getbookmarkop",
|
1763
1766
|
"GetCasebaseReleaseByIDRequest": ".getcasebasereleasebyidop",
|
@@ -1896,12 +1899,6 @@ _dynamic_imports: dict[str, str] = {
|
|
1896
1899
|
"PortalSettings": ".portalsettings",
|
1897
1900
|
"PortalSettingsTypedDict": ".portalsettings",
|
1898
1901
|
"SearchLearningLevel": ".portalsettings",
|
1899
|
-
"POST_PORTAL_ID_ANSWERS_OP_SERVERS": ".post_portalid_answersop",
|
1900
|
-
"PostPortalIDAnswersRequest": ".post_portalid_answersop",
|
1901
|
-
"PostPortalIDAnswersRequestTypedDict": ".post_portalid_answersop",
|
1902
|
-
"POST_PORTAL_ID_RETRIEVE_OP_SERVERS": ".post_portalid_retrieveop",
|
1903
|
-
"PostPortalIDRetrieveRequest": ".post_portalid_retrieveop",
|
1904
|
-
"PostPortalIDRetrieveRequestTypedDict": ".post_portalid_retrieveop",
|
1905
1902
|
"Profile": ".profile",
|
1906
1903
|
"ProfileTypedDict": ".profile",
|
1907
1904
|
"ProfileResult": ".profileresult",
|
@@ -1939,6 +1936,9 @@ _dynamic_imports: dict[str, str] = {
|
|
1939
1936
|
"ResourceTypeParameter": ".resourcetype_parameter",
|
1940
1937
|
"RestoreQuickpickRequest": ".restorequickpickop",
|
1941
1938
|
"RestoreQuickpickRequestTypedDict": ".restorequickpickop",
|
1939
|
+
"RETRIEVE_CHUNKS_OP_SERVERS": ".retrievechunksop",
|
1940
|
+
"RetrieveChunksRequest": ".retrievechunksop",
|
1941
|
+
"RetrieveChunksRequestTypedDict": ".retrievechunksop",
|
1942
1942
|
"RetrieveRequest": ".retrieverequest",
|
1943
1943
|
"RetrieveRequestChannel": ".retrieverequest",
|
1944
1944
|
"RetrieveRequestChannelTypedDict": ".retrieverequest",
|
@@ -15,13 +15,13 @@ from typing import Dict, List, Optional
|
|
15
15
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
16
16
|
|
17
17
|
|
18
|
-
|
18
|
+
GET_BEST_ANSWER_OP_SERVERS = [
|
19
19
|
# aiservices
|
20
20
|
"https://${API_DOMAIN}/core/aiservices/v4",
|
21
21
|
]
|
22
22
|
|
23
23
|
|
24
|
-
class
|
24
|
+
class GetBestAnswerRequestTypedDict(TypedDict):
|
25
25
|
q: str
|
26
26
|
r"""The search query string. The string must be escaped as required by the URL syntax rules."""
|
27
27
|
portal_id: str
|
@@ -39,7 +39,7 @@ class PostPortalIDAnswersRequestTypedDict(TypedDict):
|
|
39
39
|
answers_request: NotRequired[AnswersRequestTypedDict]
|
40
40
|
|
41
41
|
|
42
|
-
class
|
42
|
+
class GetBestAnswerRequest(BaseModel):
|
43
43
|
q: Annotated[
|
44
44
|
str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
|
45
45
|
]
|
@@ -15,13 +15,13 @@ from typing import Dict, List, Optional
|
|
15
15
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
16
16
|
|
17
17
|
|
18
|
-
|
18
|
+
RETRIEVE_CHUNKS_OP_SERVERS = [
|
19
19
|
# aiservices
|
20
20
|
"https://${API_DOMAIN}/core/aiservices/v4",
|
21
21
|
]
|
22
22
|
|
23
23
|
|
24
|
-
class
|
24
|
+
class RetrieveChunksRequestTypedDict(TypedDict):
|
25
25
|
q: str
|
26
26
|
r"""The search query string. The string must be escaped as required by the URL syntax rules."""
|
27
27
|
portal_id: str
|
@@ -39,7 +39,7 @@ class PostPortalIDRetrieveRequestTypedDict(TypedDict):
|
|
39
39
|
retrieve_request: NotRequired[RetrieveRequestTypedDict]
|
40
40
|
|
41
41
|
|
42
|
-
class
|
42
|
+
class RetrieveChunksRequest(BaseModel):
|
43
43
|
q: Annotated[
|
44
44
|
str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
|
45
45
|
]
|
egain_api_python/retrieve.py
CHANGED
@@ -10,7 +10,7 @@ from typing import Dict, List, Mapping, Optional, Union
|
|
10
10
|
|
11
11
|
|
12
12
|
class Retrieve(BaseSDK):
|
13
|
-
def
|
13
|
+
def retrieve_chunks(
|
14
14
|
self,
|
15
15
|
*,
|
16
16
|
q: str,
|
@@ -55,12 +55,12 @@ class Retrieve(BaseSDK):
|
|
55
55
|
if server_url is not None:
|
56
56
|
base_url = server_url
|
57
57
|
else:
|
58
|
-
base_url = models.
|
58
|
+
base_url = models.RETRIEVE_CHUNKS_OP_SERVERS[0]
|
59
59
|
url_variables = {
|
60
60
|
"API_DOMAIN": "api.egain.cloud",
|
61
61
|
}
|
62
62
|
|
63
|
-
request = models.
|
63
|
+
request = models.RetrieveChunksRequest(
|
64
64
|
q=q,
|
65
65
|
portal_id=portal_id,
|
66
66
|
dollar_filter_user_profile_id=dollar_filter_user_profile_id,
|
@@ -111,7 +111,7 @@ class Retrieve(BaseSDK):
|
|
111
111
|
hook_ctx=HookContext(
|
112
112
|
config=self.sdk_configuration,
|
113
113
|
base_url=base_url or "",
|
114
|
-
operation_id="
|
114
|
+
operation_id="retrieveChunks",
|
115
115
|
oauth2_scopes=[],
|
116
116
|
security_source=get_security_from_env(
|
117
117
|
self.sdk_configuration.security, models.Security
|
@@ -137,7 +137,7 @@ class Retrieve(BaseSDK):
|
|
137
137
|
|
138
138
|
raise errors.EgainDefaultError("Unexpected response received", http_res)
|
139
139
|
|
140
|
-
async def
|
140
|
+
async def retrieve_chunks_async(
|
141
141
|
self,
|
142
142
|
*,
|
143
143
|
q: str,
|
@@ -182,12 +182,12 @@ class Retrieve(BaseSDK):
|
|
182
182
|
if server_url is not None:
|
183
183
|
base_url = server_url
|
184
184
|
else:
|
185
|
-
base_url = models.
|
185
|
+
base_url = models.RETRIEVE_CHUNKS_OP_SERVERS[0]
|
186
186
|
url_variables = {
|
187
187
|
"API_DOMAIN": "api.egain.cloud",
|
188
188
|
}
|
189
189
|
|
190
|
-
request = models.
|
190
|
+
request = models.RetrieveChunksRequest(
|
191
191
|
q=q,
|
192
192
|
portal_id=portal_id,
|
193
193
|
dollar_filter_user_profile_id=dollar_filter_user_profile_id,
|
@@ -238,7 +238,7 @@ class Retrieve(BaseSDK):
|
|
238
238
|
hook_ctx=HookContext(
|
239
239
|
config=self.sdk_configuration,
|
240
240
|
base_url=base_url or "",
|
241
|
-
operation_id="
|
241
|
+
operation_id="retrieveChunks",
|
242
242
|
oauth2_scopes=[],
|
243
243
|
security_source=get_security_from_env(
|
244
244
|
self.sdk_configuration.security, models.Security
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: egain-api-python
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.2
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
5
5
|
Author: Speakeasy
|
6
6
|
Requires-Python: >=3.9.2
|
@@ -161,7 +161,7 @@ with Egain(
|
|
161
161
|
access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
|
162
162
|
) as egain:
|
163
163
|
|
164
|
-
res = egain.aiservices.retrieve.
|
164
|
+
res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", dollar_filter_user_profile_id="PROD-3210", language="en-US", dollar_filter_tags={
|
165
165
|
"PROD-1234": [
|
166
166
|
"PROD-2000",
|
167
167
|
"PROD-2003",
|
@@ -193,7 +193,7 @@ async def main():
|
|
193
193
|
access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
|
194
194
|
) as egain:
|
195
195
|
|
196
|
-
res = await egain.aiservices.retrieve.
|
196
|
+
res = await egain.aiservices.retrieve.retrieve_chunks_async(q="fair lending", portal_id="PROD-1000", dollar_filter_user_profile_id="PROD-3210", language="en-US", dollar_filter_tags={
|
197
197
|
"PROD-1234": [
|
198
198
|
"PROD-2000",
|
199
199
|
"PROD-2003",
|
@@ -233,7 +233,7 @@ with Egain(
|
|
233
233
|
access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
|
234
234
|
) as egain:
|
235
235
|
|
236
|
-
res = egain.aiservices.retrieve.
|
236
|
+
res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", dollar_filter_user_profile_id="PROD-3210", language="en-US", dollar_filter_tags={
|
237
237
|
"PROD-1234": [
|
238
238
|
"PROD-2000",
|
239
239
|
"PROD-2003",
|
@@ -262,11 +262,11 @@ with Egain(
|
|
262
262
|
|
263
263
|
#### [aiservices.answers](docs/sdks/answers/README.md)
|
264
264
|
|
265
|
-
* [
|
265
|
+
* [get_best_answer](docs/sdks/answers/README.md#get_best_answer) - Get the best answer for a user query
|
266
266
|
|
267
267
|
#### [aiservices.retrieve](docs/sdks/retrieve/README.md)
|
268
268
|
|
269
|
-
* [
|
269
|
+
* [retrieve_chunks](docs/sdks/retrieve/README.md#retrieve_chunks) - Retrieve Chunks
|
270
270
|
|
271
271
|
### [content](docs/sdks/content/README.md)
|
272
272
|
|
@@ -454,7 +454,7 @@ with Egain(
|
|
454
454
|
access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
|
455
455
|
) as egain:
|
456
456
|
|
457
|
-
res = egain.aiservices.retrieve.
|
457
|
+
res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", dollar_filter_user_profile_id="PROD-3210", language="en-US", dollar_filter_tags={
|
458
458
|
"PROD-1234": [
|
459
459
|
"PROD-2000",
|
460
460
|
"PROD-2003",
|
@@ -484,7 +484,7 @@ with Egain(
|
|
484
484
|
access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
|
485
485
|
) as egain:
|
486
486
|
|
487
|
-
res = egain.aiservices.retrieve.
|
487
|
+
res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", dollar_filter_user_profile_id="PROD-3210", language="en-US", dollar_filter_tags={
|
488
488
|
"PROD-1234": [
|
489
489
|
"PROD-2000",
|
490
490
|
"PROD-2003",
|
@@ -606,7 +606,7 @@ with Egain(
|
|
606
606
|
access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
|
607
607
|
) as egain:
|
608
608
|
|
609
|
-
res = egain.aiservices.retrieve.
|
609
|
+
res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", dollar_filter_user_profile_id="PROD-3210", language="en-US", dollar_filter_tags={
|
610
610
|
"PROD-1234": [
|
611
611
|
"PROD-2000",
|
612
612
|
"PROD-2003",
|
@@ -636,7 +636,7 @@ with Egain(
|
|
636
636
|
access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
|
637
637
|
) as egain:
|
638
638
|
|
639
|
-
res = egain.aiservices.retrieve.
|
639
|
+
res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", dollar_filter_user_profile_id="PROD-3210", language="en-US", dollar_filter_tags={
|
640
640
|
"PROD-1234": [
|
641
641
|
"PROD-2000",
|
642
642
|
"PROD-2003",
|
@@ -665,7 +665,7 @@ with Egain(
|
|
665
665
|
access_token=os.getenv("EGAIN_ACCESS_TOKEN", ""),
|
666
666
|
) as egain:
|
667
667
|
|
668
|
-
res = egain.aiservices.retrieve.
|
668
|
+
res = egain.aiservices.retrieve.retrieve_chunks(q="fair lending", portal_id="PROD-1000", dollar_filter_user_profile_id="PROD-3210", language="en-US", dollar_filter_tags={
|
669
669
|
"PROD-1234": [
|
670
670
|
"PROD-2000",
|
671
671
|
"PROD-2003",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
egain_api_python/__init__.py,sha256=w2u919V3Tzv4zEPQ-OYJ79gQ_4_SyW7GOFFoHtqXDFA,401
|
2
|
-
egain_api_python/_version.py,sha256=
|
2
|
+
egain_api_python/_version.py,sha256=ezoS1jUJj9PY3oF_xud0ytQ5ya2pGlsf8NvPn34Ne6o,474
|
3
3
|
egain_api_python/aiservices.py,sha256=vFG7gOYnOknIMJvxgzD2dUFFqtlsD2WZoLrrb-YpbKM,787
|
4
|
-
egain_api_python/answers.py,sha256=
|
4
|
+
egain_api_python/answers.py,sha256=C2UBcJ4ey9q5H47XTFS8t8eoYnfysvLbU1CFxp1Yhx4,13645
|
5
5
|
egain_api_python/articlelists.py,sha256=7eQdEbmHdIXJiud-F8nih6YtdTRtRDbMtRFYM5LC6Mk,23678
|
6
6
|
egain_api_python/basesdk.py,sha256=C9Q_a4W3CiNITPndlliKSbD0TlZIkjQR7cfsxUKHDcc,12333
|
7
7
|
egain_api_python/connectorssearchevents.py,sha256=e3g1q3QhmlhGzVr4tJk95mKugmxlvt2RKV2MKj-83XU,24542
|
@@ -24,7 +24,7 @@ egain_api_python/portal_topic.py,sha256=t14i2r7EhuQ_wAz3hSrEOWvCPm-74rQCh93gletz
|
|
24
24
|
egain_api_python/portal_userdetails.py,sha256=al0ZDoVRRIsnKKW0LCRn1Elirrc6hy2k2ddmcGcFosU,8723
|
25
25
|
egain_api_python/portal_userprofile.py,sha256=4f99l9zXAOmZBUW2pKWMHYYwoQk1H6gMCQXfhzap0Hk,18887
|
26
26
|
egain_api_python/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
27
|
-
egain_api_python/retrieve.py,sha256=
|
27
|
+
egain_api_python/retrieve.py,sha256=gHLup3CX2oos59wHZIURdEBTqXeEtUUsPOi1BhVXXks,13124
|
28
28
|
egain_api_python/sdk.py,sha256=Oiy31nbjqJc2_j4rih3JuRilo4Irymd1is_ATXhA_z4,8456
|
29
29
|
egain_api_python/sdkconfiguration.py,sha256=461--GY6fkfbEhqlCxMeo77kveUiFq70riQQQT6o7R8,1747
|
30
30
|
egain_api_python/search.py,sha256=4mEW5YQOOdul1Uzrsc13n1ip8p2aouxQ7KgB6HEXHw4,12757
|
@@ -41,7 +41,7 @@ egain_api_python/errors/no_response_error.py,sha256=Kb7hmMtDo72KrLSjUEDNeQxvzZiV
|
|
41
41
|
egain_api_python/errors/responsevalidationerror.py,sha256=KpSSNBZAuiOCDeClbrbrxcTze8-jaaNigDXaSem1nqo,751
|
42
42
|
egain_api_python/errors/schemas_wserrorcommon.py,sha256=CMSpNcBSx97MLLNpw1Dx_sVz4GF38ocNOoINkYFrGYk,1610
|
43
43
|
egain_api_python/errors/wserrorcommon.py,sha256=Eo_Zv01PvBgw5U8DmCeZRc-0wQIZLtg8MCWX3vazeYI,1603
|
44
|
-
egain_api_python/models/__init__.py,sha256=
|
44
|
+
egain_api_python/models/__init__.py,sha256=8lRZbs7yoRjPKSZq8WxCyDnenEgltbiqSTzUyrN0BNc,85823
|
45
45
|
egain_api_python/models/acceptghsolutionop.py,sha256=9tDUzQcJ-8wQxn80rtlRQD3xEUaIZvgmN7lzTkYkaAQ,2040
|
46
46
|
egain_api_python/models/acceptlanguage.py,sha256=Xd_j9CzzaDUGpeObslxSSS0SGvKJjWkYLgk1jH7lu74,360
|
47
47
|
egain_api_python/models/accessibleportal.py,sha256=BD6xFjHlEmX7LBukCMmNnBzfY-hnJdAZvZZm9YkSkO8,1241
|
@@ -173,6 +173,7 @@ egain_api_python/models/getarticlepersonalizationop.py,sha256=mNirdQnZoFVZpxpmaW
|
|
173
173
|
egain_api_python/models/getarticleratingsop.py,sha256=O6rF8pKPFK08ToL3Ib3Qx4zzw4huHRFw0kBhAN7T4Ds,3587
|
174
174
|
egain_api_python/models/getarticlesintopicop.py,sha256=07jTUaXEn25AR_iocvFX5XU00yucYRMEPcMEfivWxsM,8977
|
175
175
|
egain_api_python/models/getattachmentbyidinportalop.py,sha256=OUzIdSanWoDzNGwdGPcjRSKlOvTccE4zZGJfce-xxEk,2728
|
176
|
+
egain_api_python/models/getbestanswerop.py,sha256=UTUTh3In39mjfUaKVWWY9uWAR7Y_b2otnsHSVzgFqHA,3669
|
176
177
|
egain_api_python/models/getbookmarkop.py,sha256=GBAVyKHZqqJDgazWDhhsmZ71JQX-leW9mqRpXv7KpKE,1399
|
177
178
|
egain_api_python/models/getcasebasereleasebyidop.py,sha256=CT3ukkOsJF_TZkr6qbtTxotzGMXnEbmezuRAAUYottY,2923
|
178
179
|
egain_api_python/models/getcasebyidop.py,sha256=_FqZFbM1lke2943ovzJ62aTUZ8d2PJknFKRoOqYrGb8,3452
|
@@ -229,8 +230,6 @@ egain_api_python/models/phone.py,sha256=cpUx5FoFItZIliYP5oaXJR45GvVzeePTNfqDeqkZ
|
|
229
230
|
egain_api_python/models/portal.py,sha256=DIxPHAh6qRUcSYoXuw28VhRsuZRKZIls4nCiRFAMoOc,4182
|
230
231
|
egain_api_python/models/portalresult.py,sha256=nMnYZjFgnPazepAXXYAPKbFfM3lxJUjYQzSBVQnlFaw,798
|
231
232
|
egain_api_python/models/portalsettings.py,sha256=4ByElqpmR7sB_DR93gTUmw_GNSsSC7w3j8Bf848S67o,18473
|
232
|
-
egain_api_python/models/post_portalid_answersop.py,sha256=fzc13uBeb0m9nAQrUzkAcq75V_NFwphb8y1xtqD9w1M,3688
|
233
|
-
egain_api_python/models/post_portalid_retrieveop.py,sha256=bwUev4bMmUZLYj1Q4vJkUSfFhiofrro_VEUoacOSNeQ,3698
|
234
233
|
egain_api_python/models/profile.py,sha256=3kpi1zuk_yVjgLYzgnppX9wVdVOm11vFSQj64E-7Rs8,575
|
235
234
|
egain_api_python/models/profileresult.py,sha256=CKdhBRPws0XFFOgzWvTN0Z1qjgkfvA7pUHqH8PVDOMc,769
|
236
235
|
egain_api_python/models/publishprofile.py,sha256=WF2uAXZueLu8jBSqJTkrKvXwiiWZWLMoHGeVAGU-jQo,719
|
@@ -246,6 +245,7 @@ egain_api_python/models/rejectghsolutionop.py,sha256=e24KKMYYRRKUeXmfQmuaVL0VqLE
|
|
246
245
|
egain_api_python/models/relatedquestions.py,sha256=-mrpY6GvMaywlW5xejN3L7CT36hGLsxfy6jqIsxtNH0,879
|
247
246
|
egain_api_python/models/resourcetype_parameter.py,sha256=yTMsVDm8ARXkpYbkSE_htpzLxD81uLGW1dErC8c7k4E,200
|
248
247
|
egain_api_python/models/restorequickpickop.py,sha256=N9fl3zebetUpOa3JEbzLnRcArqjXtTx_QPANUYXsgSU,2791
|
248
|
+
egain_api_python/models/retrievechunksop.py,sha256=rsbw7wNH_lSe7ZhKcRPPgzKyDo0e78KnqgRbdu9Rkus,3678
|
249
249
|
egain_api_python/models/retrieverequest.py,sha256=A9mhXNdX6_tp4LndHhlIaINBJz9HQSye37DepjJSw0o,1894
|
250
250
|
egain_api_python/models/retrieveresponse.py,sha256=ARO5wf-H6GZa6u81zq48p5iuBycgr25hlFDiYCKYTME,4264
|
251
251
|
egain_api_python/models/role.py,sha256=aEQXpao0y3T5WbKAY04XXtbUIrNOtDsiCeRdQ9lsDbA,597
|
@@ -325,8 +325,8 @@ egain_api_python/utils/serializers.py,sha256=Hndks5M_rJXVub_N5lu0gKZQUoEmWrn6PN7
|
|
325
325
|
egain_api_python/utils/unmarshal_json_response.py,sha256=nZEaLmlsWi3z3q8Qp7ZM2jgxizRcfOBA7l8GPJuv1SY,592
|
326
326
|
egain_api_python/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
327
327
|
egain_api_python/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
328
|
-
egain_api_python-0.1.
|
329
|
-
egain_api_python-0.1.
|
330
|
-
egain_api_python-0.1.
|
331
|
-
egain_api_python-0.1.
|
332
|
-
egain_api_python-0.1.
|
328
|
+
egain_api_python-0.1.2.dist-info/licenses/LICENSE,sha256=ICtvDBOvFUvPgUEGtnyxAarCTU0IASpQZdnv8QMnHlI,1062
|
329
|
+
egain_api_python-0.1.2.dist-info/METADATA,sha256=peLgYoKGqPGs84JG_BH6wGRfN5OUlS1HyOFDL5kYM6M,33890
|
330
|
+
egain_api_python-0.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
331
|
+
egain_api_python-0.1.2.dist-info/top_level.txt,sha256=SjFjGp6Ocutn5yM4tqZHMJwpuZxFzT6qiIcELk251PA,17
|
332
|
+
egain_api_python-0.1.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|