Skip to content
Merged
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 @@
{
".": "1.68.2"
".": "1.69.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: 29
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/pi-labs%2Fwithpi-0ae57cbae376e2d4028a845342f84e4b630859d7b107e760326f19a1ed85eff9.yml
openapi_spec_hash: 460ace9aeef398172c22443ce802abd7
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/pi-labs%2Fwithpi-e42fadcfa6ccfe72d77a7c08e9598ab41ce63a27d69ec495b8972b1548113d61.yml
openapi_spec_hash: d9a68bf377f0635756d861c71efe07e6
config_hash: fd3e1149c629c2972c54a66a88fd4fab
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.69.0 (2025-08-29)

Full Changelog: [v1.68.2...v1.69.0](https://github.com/withpi/sdk-python/compare/v1.68.2...v1.69.0)

### Features

* **api:** api update ([b01ce7b](https://github.com/withpi/sdk-python/commit/b01ce7bcc6faa741827f0a0e87d53a538d432d40))

## 1.68.2 (2025-08-29)

Full Changelog: [v1.68.1...v1.68.2](https://github.com/withpi/sdk-python/compare/v1.68.1...v1.68.2)
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 = "withpi"
version = "1.68.2"
version = "1.69.0"
description = "The official Python library for the Pi Client API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/withpi/_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__ = "withpi"
__version__ = "1.68.2" # x-release-please-version
__version__ = "1.69.0" # x-release-please-version
19 changes: 0 additions & 19 deletions src/withpi/types/search/groundedness_check_response.py
Original file line number Diff line number Diff line change
@@ -1,35 +1,16 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import List
from typing_extensions import Literal

from ..._models import BaseModel

__all__ = ["GroundednessCheckResponse", "Hallucination"]


class Hallucination(BaseModel):
claim: str
"""What claim is being made in the text that is incorrect"""

explanation: str
"""Explanation regarding why the claim is incorrect"""

hallucination_type: Literal[
"Evident conflict",
"Subtle conflict",
"Evident introduction of baseless information",
"Subtle introduction of baseless information",
]

output_text: str
"""
A quote of the answer or output text that is not supported by the context
(select the minimal text that is hallucinated)
"""

reasoning: str
"""The reasoning for the hallucination"""


class GroundednessCheckResponse(BaseModel):
Expand Down