profound 0.4.0__py3-none-any.whl → 0.6.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 CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "profound"
4
- __version__ = "0.4.0" # x-release-please-version
4
+ __version__ = "0.6.0" # x-release-please-version
@@ -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[Literal["hostname", "path", "date", "region", "topic", "model", "tag", "prompt"]]
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,
@@ -214,7 +216,7 @@ class ReportsResource(SyncAPIResource):
214
216
  *,
215
217
  category_id: str,
216
218
  end_date: Union[str, datetime],
217
- metrics: List[Literal["share_of_voice", "mentions_count", "visibility_score"]],
219
+ metrics: List[Literal["share_of_voice", "mentions_count", "visibility_score", "executions"]],
218
220
  start_date: Union[str, datetime],
219
221
  date_interval: Literal["day", "week", "month", "year"] | Omit = omit,
220
222
  dimensions: List[Literal["date", "region", "topic", "model", "asset_name", "prompt", "tag"]] | 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[Literal["hostname", "path", "date", "region", "topic", "model", "tag", "prompt"]]
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,
@@ -477,7 +481,7 @@ class AsyncReportsResource(AsyncAPIResource):
477
481
  *,
478
482
  category_id: str,
479
483
  end_date: Union[str, datetime],
480
- metrics: List[Literal["share_of_voice", "mentions_count", "visibility_score"]],
484
+ metrics: List[Literal["share_of_voice", "mentions_count", "visibility_score", "executions"]],
481
485
  start_date: Union[str, datetime],
482
486
  date_interval: Literal["day", "week", "month", "year"] | Omit = omit,
483
487
  dimensions: List[Literal["date", "region", "topic", "model", "asset_name", "prompt", "tag"]] | 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[Literal["hostname", "path", "date", "region", "topic", "model", "tag", "prompt"]]
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[
@@ -22,7 +22,7 @@ class ReportVisibilityParams(TypedDict, total=False):
22
22
  Accepts formats: YYYY-MM-DD, YYYY-MM-DD HH:MM, or full ISO timestamp.
23
23
  """
24
24
 
25
- metrics: Required[List[Literal["share_of_voice", "mentions_count", "visibility_score"]]]
25
+ metrics: Required[List[Literal["share_of_voice", "mentions_count", "visibility_score", "executions"]]]
26
26
 
27
27
  start_date: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]]
28
28
  """Start date for the report.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: profound
3
- Version: 0.4.0
3
+ Version: 0.6.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
@@ -30,7 +30,7 @@ Requires-Dist: sniffio
30
30
  Requires-Dist: typing-extensions<5,>=4.10
31
31
  Provides-Extra: aiohttp
32
32
  Requires-Dist: aiohttp; extra == 'aiohttp'
33
- Requires-Dist: httpx-aiohttp>=0.1.8; extra == 'aiohttp'
33
+ Requires-Dist: httpx-aiohttp>=0.1.9; extra == 'aiohttp'
34
34
  Description-Content-Type: text/markdown
35
35
 
36
36
  # Profound Python API library
@@ -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=wHrEvCq6XhuOJKuiSCWBNtREn5wFhmMU5VT5fXlefqQ,160
14
+ profound/_version.py,sha256=p4a8XSqCa5dMv6dUlVwRIIcgdynEltt_gQzFoOvaxbo,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=1mKC3DMerg7dPl8pht-RrkfUQAngHn9QJAv1Evx7r1Y,24435
31
+ profound/resources/reports.py,sha256=9f0aQTNJre0xQqe0CVYqPoUKzk2zlGlZm67wc9nehdc,24551
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,13 +41,13 @@ 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=wrC8OMXiLvQcTz4AfRUurqIzaOJVFU5uNtFZw5JsPzk,2524
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
48
48
  profound/types/report_result.py,sha256=JOqZQb5keNw9wfaNF4YHGRgV3RTXgwfWhs1VM8Prqsk,257
49
49
  profound/types/report_sentiment_params.py,sha256=YdGw_Aa3rRJZPQkjpvQwMWDnPNOc5acDVk2Zj4eIjrQ,2527
50
- profound/types/report_visibility_params.py,sha256=LXqAUo8itg6z7xx0-FoIEE3RI35MkEeprpdKygmENxw,2553
50
+ profound/types/report_visibility_params.py,sha256=gdaXNw3xOSMlV1B_jGcdlv1r8973plWTM96JxZkI-yo,2567
51
51
  profound/types/logs/__init__.py,sha256=s00zfNR32tlguLjmtxhC_YcH8a1GVzhJEZOC6cYzr28,375
52
52
  profound/types/logs/raw_bots_params.py,sha256=ZDD82DcyNzbA4qlZsg9ApsfXKl0b2zsqXcYSpWAxwLo,2917
53
53
  profound/types/logs/raw_bots_response.py,sha256=7Qoh5rt6UTlJaz2I3EZHIDK8J_l1slc-Codl9AwULz4,885
@@ -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.4.0.dist-info/METADATA,sha256=3GtbxZa3Ubn55ESk7Y2U-sDG0Kwq__oOIIZWQtmuwhA,14203
67
- profound-0.4.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
68
- profound-0.4.0.dist-info/licenses/LICENSE,sha256=mQrIrzZE8kr7w7NuHiw98Xz-EopSKzbT0MKGCsSRuPI,11338
69
- profound-0.4.0.dist-info/RECORD,,
66
+ profound-0.6.0.dist-info/METADATA,sha256=RDIsyXXPBMGjS0l626Bkkrv9X16SBBRNY3KsK-SSXdE,14203
67
+ profound-0.6.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
68
+ profound-0.6.0.dist-info/licenses/LICENSE,sha256=mQrIrzZE8kr7w7NuHiw98Xz-EopSKzbT0MKGCsSRuPI,11338
69
+ profound-0.6.0.dist-info/RECORD,,