profound 0.7.0__py3-none-any.whl → 0.8.0__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.
Potentially problematic release.
This version of profound might be problematic. Click here for more details.
- profound/_version.py +1 -1
- profound/resources/reports.py +8 -4
- profound/types/report_sentiment_params.py +4 -2
- {profound-0.7.0.dist-info → profound-0.8.0.dist-info}/METADATA +1 -1
- {profound-0.7.0.dist-info → profound-0.8.0.dist-info}/RECORD +7 -7
- {profound-0.7.0.dist-info → profound-0.8.0.dist-info}/WHEEL +0 -0
- {profound-0.7.0.dist-info → profound-0.8.0.dist-info}/licenses/LICENSE +0 -0
profound/_version.py
CHANGED
profound/resources/reports.py
CHANGED
|
@@ -134,10 +134,12 @@ class ReportsResource(SyncAPIResource):
|
|
|
134
134
|
*,
|
|
135
135
|
category_id: str,
|
|
136
136
|
end_date: Union[str, datetime],
|
|
137
|
-
metrics: List[Literal["positive", "negative"]],
|
|
137
|
+
metrics: List[Literal["positive", "negative", "ocurrences"]],
|
|
138
138
|
start_date: Union[str, datetime],
|
|
139
139
|
date_interval: Literal["day", "week", "month", "year"] | Omit = omit,
|
|
140
|
-
dimensions: List[
|
|
140
|
+
dimensions: List[
|
|
141
|
+
Literal["theme", "date", "region", "topic", "model", "asset_name", "tag", "prompt", "sentiment_type"]
|
|
142
|
+
]
|
|
141
143
|
| Omit = omit,
|
|
142
144
|
filters: Iterable[report_sentiment_params.Filter] | Omit = omit,
|
|
143
145
|
order_by: Dict[str, Literal["asc", "desc"]] | Omit = omit,
|
|
@@ -396,10 +398,12 @@ class AsyncReportsResource(AsyncAPIResource):
|
|
|
396
398
|
*,
|
|
397
399
|
category_id: str,
|
|
398
400
|
end_date: Union[str, datetime],
|
|
399
|
-
metrics: List[Literal["positive", "negative"]],
|
|
401
|
+
metrics: List[Literal["positive", "negative", "ocurrences"]],
|
|
400
402
|
start_date: Union[str, datetime],
|
|
401
403
|
date_interval: Literal["day", "week", "month", "year"] | Omit = omit,
|
|
402
|
-
dimensions: List[
|
|
404
|
+
dimensions: List[
|
|
405
|
+
Literal["theme", "date", "region", "topic", "model", "asset_name", "tag", "prompt", "sentiment_type"]
|
|
406
|
+
]
|
|
403
407
|
| Omit = omit,
|
|
404
408
|
filters: Iterable[report_sentiment_params.Filter] | Omit = omit,
|
|
405
409
|
order_by: Dict[str, Literal["asc", "desc"]] | Omit = omit,
|
|
@@ -32,7 +32,7 @@ class ReportSentimentParams(TypedDict, total=False):
|
|
|
32
32
|
Accepts formats: YYYY-MM-DD, YYYY-MM-DD HH:MM, or full ISO timestamp.
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
|
-
metrics: Required[List[Literal["positive", "negative"]]]
|
|
35
|
+
metrics: Required[List[Literal["positive", "negative", "ocurrences"]]]
|
|
36
36
|
|
|
37
37
|
start_date: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]]
|
|
38
38
|
"""Start date for the report.
|
|
@@ -43,7 +43,9 @@ class ReportSentimentParams(TypedDict, total=False):
|
|
|
43
43
|
date_interval: Literal["day", "week", "month", "year"]
|
|
44
44
|
"""Date interval for the report. (only used with date dimension)"""
|
|
45
45
|
|
|
46
|
-
dimensions: List[
|
|
46
|
+
dimensions: List[
|
|
47
|
+
Literal["theme", "date", "region", "topic", "model", "asset_name", "tag", "prompt", "sentiment_type"]
|
|
48
|
+
]
|
|
47
49
|
"""Dimensions to group the report by."""
|
|
48
50
|
|
|
49
51
|
filters: Iterable[Filter]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: profound
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: The official Python library for the profound API
|
|
5
5
|
Project-URL: Homepage, https://github.com/cooper-square-technologies/profound-python-sdk
|
|
6
6
|
Project-URL: Repository, https://github.com/cooper-square-technologies/profound-python-sdk
|
|
@@ -11,7 +11,7 @@ profound/_resource.py,sha256=YhL4zPjSsRL1L5E5naES_gV6TkUELjzC6kVxaY0PdHw,1112
|
|
|
11
11
|
profound/_response.py,sha256=x5yzUWG_0y3G0zsq7LymfLwgqaQmwvOA5-JptD0VOyA,28800
|
|
12
12
|
profound/_streaming.py,sha256=lmBTdPkE-WAfFtBQgTYup0lycgeOMOKKILPflxXzomg,10108
|
|
13
13
|
profound/_types.py,sha256=lpu9B2IW_aKN4UH2Wy6tCjfci53t1MckP0ymxKwiWbY,7238
|
|
14
|
-
profound/_version.py,sha256=
|
|
14
|
+
profound/_version.py,sha256=aBMA3KiAdn93YMw92t85B0BtR4QtJjfy-hQw3B74Hk0,160
|
|
15
15
|
profound/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
profound/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
|
|
17
17
|
profound/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
|
|
@@ -28,7 +28,7 @@ profound/_utils/_utils.py,sha256=0dDqauUbVZEXV0NVl7Bwu904Wwo5eyFCZpQThhFNhyA,122
|
|
|
28
28
|
profound/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
|
29
29
|
profound/resources/__init__.py,sha256=W12BGTFhkNpAkkWMKyAXrUuOf0IYrxInKvM8PQtEFIs,1993
|
|
30
30
|
profound/resources/prompts.py,sha256=kVyuNMqddyBbqmV3YBnP_lF_MBRfMsrc72x7840SygM,7661
|
|
31
|
-
profound/resources/reports.py,sha256=
|
|
31
|
+
profound/resources/reports.py,sha256=87eBPsS8Q0clC3wEZuyx8XaqeW0QDlt2GyvgsfxqbmI,24355
|
|
32
32
|
profound/resources/logs/__init__.py,sha256=O6f6TO4gow2FymLgYAZIzT_thUVOIf0MNWKIoHbyo0Q,937
|
|
33
33
|
profound/resources/logs/logs.py,sha256=5ZJXn0glWvBhgW6vzba0b-0g_bKGssW1Lo2spM-mz3s,3528
|
|
34
34
|
profound/resources/logs/raw.py,sha256=Y0mOQE-95rVa89CpUemCb-_DRc66q-JXapIj-QWlgYE,18716
|
|
@@ -46,7 +46,7 @@ profound/types/report_citations_response.py,sha256=x7cWeAIS8coXoYmk0KxPB8idvnC-Q
|
|
|
46
46
|
profound/types/report_info.py,sha256=UCM4Ip1JQSjcO_0UfRivj1aLBSDbiynJxbZnp9UAc2k,278
|
|
47
47
|
profound/types/report_response.py,sha256=a9ffmdhkvoBQ8RiyV76XJ7kxIofm1t2d6QhDPQofPf0,381
|
|
48
48
|
profound/types/report_result.py,sha256=JOqZQb5keNw9wfaNF4YHGRgV3RTXgwfWhs1VM8Prqsk,257
|
|
49
|
-
profound/types/report_sentiment_params.py,sha256=
|
|
49
|
+
profound/types/report_sentiment_params.py,sha256=q1tktT-BHWcAutBg25Xr30WJKeeeECvPL1n8O8iiACI,4688
|
|
50
50
|
profound/types/report_visibility_params.py,sha256=jbbidv2X3aC2AJSdBpTgRn7-2yipoXhZoH14-LCye_w,4192
|
|
51
51
|
profound/types/logs/__init__.py,sha256=s00zfNR32tlguLjmtxhC_YcH8a1GVzhJEZOC6cYzr28,375
|
|
52
52
|
profound/types/logs/raw_bots_params.py,sha256=SYhtdZnhO3GFOx-kL52diVKLyGmmLdrihDzrtOkEZOE,7058
|
|
@@ -63,7 +63,7 @@ profound/types/shared/__init__.py,sha256=Htv0wQd-4CHTwCC1FaroMpYcWIGFM2KdvXF8ay0
|
|
|
63
63
|
profound/types/shared/pagination.py,sha256=JU0XsGFY16yro_-uEvzI9rP0uMO583Q475htFoFeHjQ,412
|
|
64
64
|
profound/types/shared_params/__init__.py,sha256=Htv0wQd-4CHTwCC1FaroMpYcWIGFM2KdvXF8ay0nYuE,136
|
|
65
65
|
profound/types/shared_params/pagination.py,sha256=F8KqTI_WcSmLpLaGg8Vp4wEuNifrOBPY5MZV-GNy11E,405
|
|
66
|
-
profound-0.
|
|
67
|
-
profound-0.
|
|
68
|
-
profound-0.
|
|
69
|
-
profound-0.
|
|
66
|
+
profound-0.8.0.dist-info/METADATA,sha256=RhHOGBMgy5Nl4_0WaEg9gcps1bSL4NEFe06ymt4vCKU,14203
|
|
67
|
+
profound-0.8.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
68
|
+
profound-0.8.0.dist-info/licenses/LICENSE,sha256=mQrIrzZE8kr7w7NuHiw98Xz-EopSKzbT0MKGCsSRuPI,11338
|
|
69
|
+
profound-0.8.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|