Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.55.0"
".": "0.56.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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-bcaf63c0b7413453485a405e30a5d5b82f4cb29949cc0ba7e0af24fc5a49ea36.yml
openapi_spec_hash: 0f50b7862d9981f3837865b7e971bea7
config_hash: ff20af11692df5be71f1ef46d41ef365
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/profound/_version.py
Original file line number Diff line number Diff line change
@@ -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
18 changes: 17 additions & 1 deletion src/profound/types/prompt_answers_v2_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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


Expand All @@ -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

Expand Down
25 changes: 24 additions & 1 deletion src/profound/types/prompt_stream_answers_v2_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@

from .._models import BaseModel

__all__ = ["PromptStreamAnswersV2Response", "AnswersV2Info", "AnswerRow", "AnswerRowCitationDetail", "AnswerRowModel"]
__all__ = [
"PromptStreamAnswersV2Response",
"AnswersV2Info",
"AnswerRow",
"AnswerRowCitationDetail",
"AnswerRowCitationDetailGroup",
"AnswerRowModel",
]


class AnswersV2Info(BaseModel):
Expand Down Expand Up @@ -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

Expand All @@ -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


Expand All @@ -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

Expand Down
Loading