Skip to content

fix: extend Webset previews and preserve structured outputs - #294

Open
exa-oss-publish[bot] wants to merge 1 commit into
masterfrom
oss-publish/exa-py
Open

exa-oss-publish[bot] wants to merge 1 commit into
masterfrom
oss-publish/exa-py

Conversation

@exa-oss-publish

Copy link
Copy Markdown
Contributor
  • Add nested search parameters, optional preview search execution, typed preview items, and validation to WebsetsClient.preview and AsyncWebsetsClient.preview.
  • Fix async search responses to parse and expose deep-search output values.
  • Allow SearchMonitorRunOutput.content to contain any JSON value, including lists and scalar values.
  • Fix Pydantic schema reference inlining to preserve annotation and constraint siblings while retaining unresolved references.
  • Document unsupported lite search synthesis options and clarify that search result score is a legacy field absent from current search types.
  • Test search responses without scores while retaining legacy similarity scores for /findSimilar.

Changes by anna-xing, kesku.

This pull request was opened by the automated sync of this repository.

Staged commit 1fd8b8982a9edfbb67331f441a4eff89a300e25c
Change digest 9911e1ca15ac6b5d61435d36b01dfead1e1b405253e813070cb15e1178924f80

The synced files are generated at the source and overwritten by every sync, so please do not push to this branch.

Release notes, one line per change:

BEGIN_COMMIT_OVERRIDE
fix: add exclude to CreateWebhookParameters for global Webset source exclusions

fix: add title to CreateWebhookParameters and UpdateWebhookParameters

fix: add recall to Webset search creation parameters

fix: add nested search parameters and a search option to WebsetsClient.preview

fix: allow GroundingEntry.content to contain any JSON value

fix: fix JSON Schema inlining for $ref fields with annotations or constraints

docs: document that system_prompt and output_schema exclude the lite search type

docs: document score as a legacy field that is absent from current search results
END_COMMIT_OVERRIDE

- Add nested `search` parameters, optional preview search execution, typed preview items, and validation to `WebsetsClient.preview` and `AsyncWebsetsClient.preview`.
- Fix async search responses to parse and expose deep-search `output` values.
- Allow `SearchMonitorRunOutput.content` to contain any JSON value, including lists and scalar values.
- Fix Pydantic schema reference inlining to preserve annotation and constraint siblings while retaining unresolved references.
- Document unsupported `lite` search synthesis options and clarify that search result `score` is a legacy field absent from current search types.
- Test search responses without scores while retaining legacy similarity scores for `/findSimilar`.

GitOrigin-RevId: f5064921c2df659a1e4441b051473511da5a3c9b
Co-authored-by: anna-xing <anna-xing@users.noreply.github.com>
Co-authored-by: kesku <kesku@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

0 participants