Skip to content

Commit 761b766

Browse files
feat: Enable Exa highlights and default Perplexity to medium context
Stainless-Generated-From: 5defbfe3264ec41772f12257aa4ae698ff774182
1 parent c194b94 commit 761b766

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

‎src/kernel/types/provider_target_param.py‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ class SearchExaTargetOptionsContents(TypedDict, total=False):
9999
"""
100100

101101
highlights: bool
102-
"""Return query-relevant provider excerpts."""
102+
"""Return query-relevant provider excerpts.
103+
104+
Defaults to true for Exa search requests; set false to disable.
105+
"""
103106

104107
text: bool
105108
"""Return provider page text."""
@@ -166,7 +169,10 @@ class SearchPerplexityTargetOptions(TypedDict, total=False):
166169
"""
167170

168171
search_context_size: Literal["low", "medium", "high"]
169-
"""Provider context size supported by the selected model."""
172+
"""Amount of page content Perplexity extracts per result.
173+
174+
Defaults to medium unless max_tokens or max_tokens_per_page is set.
175+
"""
170176

171177
search_language_filter: SequenceNotStr[str]
172178
"""ISO 639-1 language codes, max 20."""

0 commit comments

Comments
 (0)