profound 0.4.0__py3-none-any.whl → 0.5.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 +6 -2
- profound/types/report_citations_params.py +4 -2
- {profound-0.4.0.dist-info → profound-0.5.0.dist-info}/METADATA +1 -1
- {profound-0.4.0.dist-info → profound-0.5.0.dist-info}/RECORD +7 -7
- {profound-0.4.0.dist-info → profound-0.5.0.dist-info}/WHEEL +0 -0
- {profound-0.4.0.dist-info → profound-0.5.0.dist-info}/licenses/LICENSE +0 -0
profound/_version.py
CHANGED
profound/resources/reports.py
CHANGED
|
@@ -55,7 +55,9 @@ class ReportsResource(SyncAPIResource):
|
|
|
55
55
|
metrics: List[Literal["count", "share_of_voice"]],
|
|
56
56
|
start_date: Union[str, datetime],
|
|
57
57
|
date_interval: Literal["day", "week", "month", "year"] | Omit = omit,
|
|
58
|
-
dimensions: List[
|
|
58
|
+
dimensions: List[
|
|
59
|
+
Literal["hostname", "path", "date", "region", "topic", "model", "tag", "prompt", "url", "root_domain"]
|
|
60
|
+
]
|
|
59
61
|
| Omit = omit,
|
|
60
62
|
filters: Iterable[report_citations_params.Filter] | Omit = omit,
|
|
61
63
|
order_by: Dict[str, Literal["asc", "desc"]] | Omit = omit,
|
|
@@ -318,7 +320,9 @@ class AsyncReportsResource(AsyncAPIResource):
|
|
|
318
320
|
metrics: List[Literal["count", "share_of_voice"]],
|
|
319
321
|
start_date: Union[str, datetime],
|
|
320
322
|
date_interval: Literal["day", "week", "month", "year"] | Omit = omit,
|
|
321
|
-
dimensions: List[
|
|
323
|
+
dimensions: List[
|
|
324
|
+
Literal["hostname", "path", "date", "region", "topic", "model", "tag", "prompt", "url", "root_domain"]
|
|
325
|
+
]
|
|
322
326
|
| Omit = omit,
|
|
323
327
|
filters: Iterable[report_citations_params.Filter] | Omit = omit,
|
|
324
328
|
order_by: Dict[str, Literal["asc", "desc"]] | Omit = omit,
|
|
@@ -33,7 +33,9 @@ class ReportCitationsParams(TypedDict, total=False):
|
|
|
33
33
|
date_interval: Literal["day", "week", "month", "year"]
|
|
34
34
|
"""Date interval for the report. (only used with date dimension)"""
|
|
35
35
|
|
|
36
|
-
dimensions: List[
|
|
36
|
+
dimensions: List[
|
|
37
|
+
Literal["hostname", "path", "date", "region", "topic", "model", "tag", "prompt", "url", "root_domain"]
|
|
38
|
+
]
|
|
37
39
|
"""Dimensions to group the report by."""
|
|
38
40
|
|
|
39
41
|
filters: Iterable[Filter]
|
|
@@ -60,7 +62,7 @@ class ReportCitationsParams(TypedDict, total=False):
|
|
|
60
62
|
|
|
61
63
|
|
|
62
64
|
class Filter(TypedDict, total=False):
|
|
63
|
-
field: Required[Literal["hostname", "path", "region", "topic", "model", "tag"]]
|
|
65
|
+
field: Required[Literal["hostname", "path", "region", "topic", "model", "tag", "url", "root_domain", "prompt_type"]]
|
|
64
66
|
|
|
65
67
|
operator: Required[
|
|
66
68
|
Literal[
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: profound
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.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=J8J9RtZ8XynurmRwBhQDc2yKZHYY6qAIxoQDFPgtK3k,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=XhERp4L4FVE4xTngslgmV7AVRh6SZzGcQzHO1lP02Hg,7525
|
|
31
|
-
profound/resources/reports.py,sha256=
|
|
31
|
+
profound/resources/reports.py,sha256=XPgEBHNXHUrVb67KCVfxBWBQezUsABYGPU4bEYV8SQg,24523
|
|
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=Kt8qDBKXe8qvSi0pxPMOok72_7UQ1qczle8nka1aVWg,18950
|
|
@@ -41,7 +41,7 @@ profound/types/organization_models_response.py,sha256=7k8rbvmOA-iusEiTOfK7ZCC4d4
|
|
|
41
41
|
profound/types/organization_regions_response.py,sha256=3rQ20rxQs7qGuHVx8W5P6y1dGSM9Qds3vwCQLm6Xqpk,295
|
|
42
42
|
profound/types/prompt_answers_params.py,sha256=J_JNRqxGA8tIYgnVc_YKgUA8tDQfjKgJ96gUEv8y8Zw,1805
|
|
43
43
|
profound/types/prompt_answers_response.py,sha256=n9UVrTwAUmX4wi_OzlszPuZ3Vv80rey5k5_1ESR8spc,918
|
|
44
|
-
profound/types/report_citations_params.py,sha256=
|
|
44
|
+
profound/types/report_citations_params.py,sha256=GlZx0pcTQ1I_y4_uPEZnrOPXNlyR_7rTzZp3z2FcGiQ,2597
|
|
45
45
|
profound/types/report_citations_response.py,sha256=x7cWeAIS8coXoYmk0KxPB8idvnC-Qrdnhkubes7qWiI,399
|
|
46
46
|
profound/types/report_info.py,sha256=UCM4Ip1JQSjcO_0UfRivj1aLBSDbiynJxbZnp9UAc2k,278
|
|
47
47
|
profound/types/report_response.py,sha256=a9ffmdhkvoBQ8RiyV76XJ7kxIofm1t2d6QhDPQofPf0,381
|
|
@@ -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.5.0.dist-info/METADATA,sha256=gJTkh7lzlQMKjpTXz45gDurK6eW5pWP5MDoB_t_rXkg,14203
|
|
67
|
+
profound-0.5.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
68
|
+
profound-0.5.0.dist-info/licenses/LICENSE,sha256=mQrIrzZE8kr7w7NuHiw98Xz-EopSKzbT0MKGCsSRuPI,11338
|
|
69
|
+
profound-0.5.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|