Skip to content

Commit d6fdaf5

Browse files
feat(api): api update
1 parent b40a7ea commit d6fdaf5

4 files changed

Lines changed: 14 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 21
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound%2Fprofound-34f1c8ba06e33fc642739b3c8328d91325aafa8004fb4b6477e830e554c964a8.yml
3-
openapi_spec_hash: e68c348df4acad9163ce98a2dc17ebb1
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound%2Fprofound-85c2cc542ebd87adbf37b0e66894b4854b2e828f88bcafed4ea77f68a97355ce.yml
3+
openapi_spec_hash: fb8408a3cfee3614593fdedee497c1d7
44
config_hash: f683a29859356d6968a19ae3e6063b63

src/profound/resources/reports.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,11 @@ def citations(
6868
"date",
6969
"region",
7070
"topic",
71+
"topic_id",
7172
"model",
7273
"tag",
7374
"prompt",
75+
"prompt_id",
7476
"url",
7577
"root_domain",
7678
"persona",
@@ -336,11 +338,13 @@ def sentiment(
336338
"date",
337339
"region",
338340
"topic",
341+
"topic_id",
339342
"model",
340343
"asset_id",
341344
"asset_name",
342345
"tag",
343346
"prompt",
347+
"prompt_id",
344348
"sentiment_type",
345349
"persona",
346350
]
@@ -548,9 +552,11 @@ async def citations(
548552
"date",
549553
"region",
550554
"topic",
555+
"topic_id",
551556
"model",
552557
"tag",
553558
"prompt",
559+
"prompt_id",
554560
"url",
555561
"root_domain",
556562
"persona",
@@ -816,11 +822,13 @@ async def sentiment(
816822
"date",
817823
"region",
818824
"topic",
825+
"topic_id",
819826
"model",
820827
"asset_id",
821828
"asset_name",
822829
"tag",
823830
"prompt",
831+
"prompt_id",
824832
"sentiment_type",
825833
"persona",
826834
]

src/profound/types/report_citations_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,11 @@ class ReportCitationsParams(TypedDict, total=False):
6161
"date",
6262
"region",
6363
"topic",
64+
"topic_id",
6465
"model",
6566
"tag",
6667
"prompt",
68+
"prompt_id",
6769
"url",
6870
"root_domain",
6971
"persona",

src/profound/types/report_sentiment_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,13 @@ class ReportSentimentParams(TypedDict, total=False):
4747
"date",
4848
"region",
4949
"topic",
50+
"topic_id",
5051
"model",
5152
"asset_id",
5253
"asset_name",
5354
"tag",
5455
"prompt",
56+
"prompt_id",
5557
"sentiment_type",
5658
"persona",
5759
]

0 commit comments

Comments
 (0)