From 0b4196ba6d50828f80e0b10ee8fc7c0a692345e7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 30 Jul 2026 16:17:29 +0000 Subject: [PATCH 01/10] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index fa5ea03f..6629cefd 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 102 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-7f89d003ee5886a49dcba4317709b3631185a517c455e0dbf12130dadc1a73c3.yml -openapi_spec_hash: b6057ce27ebb04cdd19c0f006774ce65 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-731302277aee60aec3f8598b95909f59523993209a3f7c9a13cd59bfb2c5e14b.yml +openapi_spec_hash: 59fdcff99b1ae4c198c826713d7722bc config_hash: ff20af11692df5be71f1ef46d41ef365 From dd004d0da3837f4e789d5c7e53b3fe3a5145f441 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 30 Jul 2026 19:17:29 +0000 Subject: [PATCH 02/10] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 6629cefd..f5227672 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 102 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-731302277aee60aec3f8598b95909f59523993209a3f7c9a13cd59bfb2c5e14b.yml -openapi_spec_hash: 59fdcff99b1ae4c198c826713d7722bc +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-6275174f0a62e012c50643d471b3e82b98707979492dc1a405ef34fcf13f5b45.yml +openapi_spec_hash: b3bc03eeb0908def5bd1b702908061a9 config_hash: ff20af11692df5be71f1ef46d41ef365 From d26dd846a94df350e4d46d1f3da55d4ff1ee55b0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 31 Jul 2026 00:17:23 +0000 Subject: [PATCH 03/10] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index f5227672..a30700eb 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 102 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-6275174f0a62e012c50643d471b3e82b98707979492dc1a405ef34fcf13f5b45.yml -openapi_spec_hash: b3bc03eeb0908def5bd1b702908061a9 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-3f5a04157e254375d835a818f51a81159912b74c61102f5657f0fa77cca705d3.yml +openapi_spec_hash: 11040dfe373082a77a735046ce51595a config_hash: ff20af11692df5be71f1ef46d41ef365 From 60b5acb731256848293bd7d291419f4a5f076d1d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 31 Jul 2026 01:17:32 +0000 Subject: [PATCH 04/10] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index a30700eb..030dada9 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 102 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-3f5a04157e254375d835a818f51a81159912b74c61102f5657f0fa77cca705d3.yml -openapi_spec_hash: 11040dfe373082a77a735046ce51595a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-a5a8e13afc85e5c19a60def730482b6f24db368291566bdd371d3bd042828977.yml +openapi_spec_hash: 96fc55acf2c00d26348969ab245ebb43 config_hash: ff20af11692df5be71f1ef46d41ef365 From bb03785f1af4db9afee5f7adb0f77d63a38a52ca Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 31 Jul 2026 14:17:28 +0000 Subject: [PATCH 05/10] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 030dada9..92bfe1ea 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 102 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-a5a8e13afc85e5c19a60def730482b6f24db368291566bdd371d3bd042828977.yml -openapi_spec_hash: 96fc55acf2c00d26348969ab245ebb43 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-3d8d64b43abe76c2c8f97fb7808853406b98388277f8f0d2fedd19455c85d0ff.yml +openapi_spec_hash: ab67ef987b1c1c1545bd5471ff454c23 config_hash: ff20af11692df5be71f1ef46d41ef365 From 6c38bfbb3d9e564499611a33396c310d69e375e4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 31 Jul 2026 17:17:28 +0000 Subject: [PATCH 06/10] feat(api): api update --- .stats.yml | 4 +-- .../types/prompt_answers_v2_response.py | 18 ++++++++++++- .../prompt_stream_answers_v2_response.py | 25 ++++++++++++++++++- 3 files changed, 43 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index 92bfe1ea..a74b9e76 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 102 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-3d8d64b43abe76c2c8f97fb7808853406b98388277f8f0d2fedd19455c85d0ff.yml -openapi_spec_hash: ab67ef987b1c1c1545bd5471ff454c23 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-9c616fae4c662c1e1b3d372a69885770b65f9ad3e38db9646ca1cb1d616361b8.yml +openapi_spec_hash: c9aa22ae14a458426bc871331b3224d8 config_hash: ff20af11692df5be71f1ef46d41ef365 diff --git a/src/profound/types/prompt_answers_v2_response.py b/src/profound/types/prompt_answers_v2_response.py index 143aa83a..0b8bdda2 100644 --- a/src/profound/types/prompt_answers_v2_response.py +++ b/src/profound/types/prompt_answers_v2_response.py @@ -6,7 +6,13 @@ from .._models import BaseModel -__all__ = ["PromptAnswersV2Response", "Data", "DataCitationDetail", "DataModel", "Info"] +__all__ = ["PromptAnswersV2Response", "Data", "DataCitationDetail", "DataCitationDetailGroup", "DataModel", "Info"] + + +class DataCitationDetailGroup(BaseModel): + group_id: int + + group_position: int class DataCitationDetail(BaseModel): @@ -24,6 +30,10 @@ class DataCitationDetail(BaseModel): first_cited_at: Optional[str] = None + groups: Optional[List[DataCitationDetailGroup]] = None + + positions: Optional[List[int]] = None + text: Optional[str] = None @@ -44,6 +54,12 @@ class Data(BaseModel): analysis_types: Optional[List[str]] = None citation_details: Optional[List[DataCitationDetail]] = None + """Citation metadata. + + `positions` identify citation locations in the answer text. Each `groups` entry + represents a rendered citation pill; `group_position` is the source's position + within that pill. + """ citations: Optional[List[str]] = None diff --git a/src/profound/types/prompt_stream_answers_v2_response.py b/src/profound/types/prompt_stream_answers_v2_response.py index d3a30a6e..17565563 100644 --- a/src/profound/types/prompt_stream_answers_v2_response.py +++ b/src/profound/types/prompt_stream_answers_v2_response.py @@ -7,7 +7,14 @@ from .._models import BaseModel -__all__ = ["PromptStreamAnswersV2Response", "AnswersV2Info", "AnswerRow", "AnswerRowCitationDetail", "AnswerRowModel"] +__all__ = [ + "PromptStreamAnswersV2Response", + "AnswersV2Info", + "AnswerRow", + "AnswerRowCitationDetail", + "AnswerRowCitationDetailGroup", + "AnswerRowModel", +] class AnswersV2Info(BaseModel): @@ -50,6 +57,12 @@ def __getattr__(self, attr: str) -> object: ... __pydantic_extra__: Dict[str, object] +class AnswerRowCitationDetailGroup(BaseModel): + group_id: int + + group_position: int + + class AnswerRowCitationDetail(BaseModel): clean_url: str @@ -65,6 +78,10 @@ class AnswerRowCitationDetail(BaseModel): first_cited_at: Optional[str] = None + groups: Optional[List[AnswerRowCitationDetailGroup]] = None + + positions: Optional[List[int]] = None + text: Optional[str] = None @@ -82,6 +99,12 @@ class AnswerRow(BaseModel): analysis_types: Optional[List[str]] = None citation_details: Optional[List[AnswerRowCitationDetail]] = None + """Citation metadata. + + `positions` identify citation locations in the answer text. Each `groups` entry + represents a rendered citation pill; `group_position` is the source's position + within that pill. + """ citations: Optional[List[str]] = None From d81e9201bd0cc4492f518fc5be9378fa34ee994e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 31 Jul 2026 18:17:33 +0000 Subject: [PATCH 07/10] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index a74b9e76..fe51989f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 102 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-9c616fae4c662c1e1b3d372a69885770b65f9ad3e38db9646ca1cb1d616361b8.yml -openapi_spec_hash: c9aa22ae14a458426bc871331b3224d8 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-3d355fa7c4e1b8b96473d677823aa9238a27a44da33d8c88c4854f6f1ec000ab.yml +openapi_spec_hash: 2b0b9177a7ee8d32359b093d5ab98749 config_hash: ff20af11692df5be71f1ef46d41ef365 From 00b0e159f5b6e13db805dc88baf79dfe63d6667b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 31 Jul 2026 19:17:31 +0000 Subject: [PATCH 08/10] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index fe51989f..21ec48ac 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 102 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-3d355fa7c4e1b8b96473d677823aa9238a27a44da33d8c88c4854f6f1ec000ab.yml -openapi_spec_hash: 2b0b9177a7ee8d32359b093d5ab98749 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-da7b9b99613eabe79b367623d552a6bc0f1aa18931a2c53f2543756ee9ae8d61.yml +openapi_spec_hash: 40e0fba93f23961dab07fb51124d563a config_hash: ff20af11692df5be71f1ef46d41ef365 From 0e3db087de1c038a5aca203722158857ed9aa395 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 31 Jul 2026 21:17:35 +0000 Subject: [PATCH 09/10] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 21ec48ac..9260ad3a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 102 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-da7b9b99613eabe79b367623d552a6bc0f1aa18931a2c53f2543756ee9ae8d61.yml -openapi_spec_hash: 40e0fba93f23961dab07fb51124d563a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/profound/profound-bcaf63c0b7413453485a405e30a5d5b82f4cb29949cc0ba7e0af24fc5a49ea36.yml +openapi_spec_hash: 0f50b7862d9981f3837865b7e971bea7 config_hash: ff20af11692df5be71f1ef46d41ef365 From eac8d9cea0b61555184145947ce22e36555bb5ef Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 31 Jul 2026 21:18:05 +0000 Subject: [PATCH 10/10] release: 0.56.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/profound/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index d940b600..87d3d84c 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.55.0" + ".": "0.56.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 20628def..d2babd15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.56.0 (2026-07-31) + +Full Changelog: [v0.55.0...v0.56.0](https://github.com/cooper-square-technologies/profound-python-sdk/compare/v0.55.0...v0.56.0) + +### Features + +* **api:** api update ([6c38bfb](https://github.com/cooper-square-technologies/profound-python-sdk/commit/6c38bfbb3d9e564499611a33396c310d69e375e4)) + ## 0.55.0 (2026-07-30) Full Changelog: [v0.54.0...v0.55.0](https://github.com/cooper-square-technologies/profound-python-sdk/compare/v0.54.0...v0.55.0) diff --git a/pyproject.toml b/pyproject.toml index 9c36160a..0b776b8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "profound" -version = "0.55.0" +version = "0.56.0" description = "The official Python library for the profound API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/profound/_version.py b/src/profound/_version.py index 08b468b7..0a80bd3b 100644 --- a/src/profound/_version.py +++ b/src/profound/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "profound" -__version__ = "0.55.0" # x-release-please-version +__version__ = "0.56.0" # x-release-please-version