Skip to content

Let an ontology field opt out, and fix the README - #348

Merged
paul-paliychuk merged 1 commit into
v4from
paul/v4-sdk-polish
Aug 26, 2026
Merged

Let an ontology field opt out, and fix the README#348
paul-paliychuk merged 1 commit into
v4from
paul/v4-sdk-polish

Conversation

@paul-paliychuk

Copy link
Copy Markdown
Contributor

Rationale

The Go DSL can exclude a field from an ontology with zep:"-"; Python raised on any field without a property marker and offered no way to opt out, so a model that ports cleanly in Go could not be expressed here without splitting it. The README also describes capabilities this package does not ship.

Changes

  • Add an Excluded marker, following the existing Identity pattern, checked before the property-marker check in _properties(). An excluded field is omitted from the built payload and needs no description.
  • Three tests: an excluded field is omitted, an excluded field needs no description, and an unmarked field alongside an excluded one still raises.
  • README: remove document collections, the langchain chat-history and vector-store classes, a community install of a differently named package, and a Running Examples section pointing at an examples/ directory that was removed from the repository. The generated half from ## Installation onward is untouched.

Impact and risks

None material. Excluded is additive; existing models behave exactly as before.

Invariants

None.

Required configs

None.

The Go DSL excludes a field with `zep:"-"`, so a model reused for other
purposes can leave one out. Python raised on any field without a property
marker with no way to opt out, so the same model could not be expressed here
without splitting it. An `Excluded` marker, following the existing `Identity`
pattern, skips the field before the marker check.

The README still described capabilities this package does not ship: document
collections, the langchain chat-history and vector-store classes, a community
install of a differently named package, and an examples directory removed from
the repository.
@paul-paliychuk
paul-paliychuk merged commit 082f322 into v4 Aug 26, 2026
4 checks passed
@paul-paliychuk
paul-paliychuk deleted the paul/v4-sdk-polish branch August 26, 2026 21:07
zep-sdk-release-bot Bot added a commit that referenced this pull request Aug 26, 2026
* [fern-generated] Update SDK

Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-python-sdk: 4.64.1

* [fern-replay] Applied customizations

Patches applied (1):
  - patch-082f322d: Let an ontology field opt out, and fix the README (#348)

* chore: bump SDK version to 4.0.0-alpha.5

---------

Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
Co-authored-by: zep-sdk-release-bot[bot] <zep-sdk-release-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant