Skip to content

Commit 73d92bf

Browse files
committed
## SDK Changes Detected:
* `glean.client.search.retrieve_feed()`: `response.results.[].primary_entry.chat_suggestion` **Added**
1 parent 44b18d6 commit 73d92bf

File tree

69 files changed

+294
-162
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+294
-162
lines changed

.speakeasy/gen.lock

Lines changed: 25 additions & 19 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ generation:
2626
generateNewTests: true
2727
skipResponseBodyAssertions: true
2828
python:
29-
version: 0.7.2
29+
version: 0.7.3
3030
additionalDependencies:
3131
dev: {}
3232
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3774,6 +3774,7 @@ components:
37743774
email:
37753775
type: string
37763776
description: The email address of the user who submitted the Feedback.event.MANUAL_FEEDBACK event.
3777+
deprecated: true
37773778
source:
37783779
type: string
37793780
description: The source associated with the Feedback.event.MANUAL_FEEDBACK event.
@@ -5841,9 +5842,6 @@ components:
58415842
required:
58425843
- snippet
58435844
properties:
5844-
snippet:
5845-
type: string
5846-
description: A matching snippet from the document. Query term matches are marked by the unicode characters uE006 and uE007.
58475845
mimeType:
58485846
type: string
58495847
description: The mime type of the snippets, currently either text/plain or text/html.
@@ -5861,6 +5859,10 @@ components:
58615859
url:
58625860
type: string
58635861
description: A URL, generated based on availability, that links to the position of the snippet text or to the nearest header above the snippet text.
5862+
snippet:
5863+
type: string
5864+
deprecated: true
5865+
description: A matching snippet from the document. Query term matches are marked by the unicode characters uE006 and uE007. Use 'text' field instead.
58645866
example:
58655867
snippet: snippet
58665868
mimeType: mimeType
@@ -5954,6 +5956,8 @@ components:
59545956
- THREAD_ROOT
59555957
- PREFIX
59565958
- SUFFIX
5959+
- AUTHOR_PREFIX
5960+
- AUTHOR_SUFFIX
59575961
ClusterGroup:
59585962
required:
59595963
- visibleCountHint
@@ -7306,7 +7310,7 @@ components:
73067310
$ref: "#/components/schemas/AgentConfig"
73077311
description: Describes the agent config that generated this message. Populated on responses and not required on requests.
73087312
author:
7309-
default: GLEAN_AI
7313+
default: USER
73107314
enum:
73117315
- USER
73127316
- GLEAN_AI
@@ -9145,6 +9149,7 @@ components:
91459149
- ZERO_STATE_WORKFLOW_FAVORITES
91469150
- ZERO_STATE_WORKFLOW_POPULAR
91479151
- ZERO_STATE_WORKFLOW_SUGGESTION
9152+
- PERSONALIZED_CHAT_SUGGESTION
91489153
description: Categories of content requested. An allowlist gives flexibility to request content separately or together.
91499154
requestOptions:
91509155
$ref: "#/components/schemas/FeedRequestOptions"
@@ -9300,6 +9305,14 @@ components:
93009305
type: array
93019306
items:
93029307
$ref: "#/components/schemas/GeneratedAttachment"
9308+
ChatSuggestion:
9309+
properties:
9310+
query:
9311+
type: string
9312+
description: The actionable chat query to run when the user selects this suggestion.
9313+
feature:
9314+
type: string
9315+
description: Targeted Glean Chat feature for the suggestion.
93039316
PromptTemplateMutableProperties:
93049317
required:
93059318
- template
@@ -9513,6 +9526,7 @@ components:
95139526
- ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION
95149527
- ZERO_STATE_STATIC_WORKFLOW_SUGGESTION
95159528
- ZERO_STATE_AGENT_SUGGESTION
9529+
- PERSONALIZED_CHAT_SUGGESTION
95169530
description: Type of the justification.
95179531
justification:
95189532
type: string
@@ -9537,6 +9551,8 @@ components:
95379551
$ref: "#/components/schemas/Person"
95389552
app:
95399553
$ref: "#/components/schemas/AppResult"
9554+
chatSuggestion:
9555+
$ref: "#/components/schemas/ChatSuggestion"
95409556
promptTemplate:
95419557
$ref: "#/components/schemas/PromptTemplateResult"
95429558
workflow:
@@ -9578,6 +9594,7 @@ components:
95789594
- ZERO_STATE_WORKFLOW_FAVORITES
95799595
- ZERO_STATE_WORKFLOW_POPULAR
95809596
- ZERO_STATE_WORKFLOW_SUGGESTION
9597+
- PERSONALIZED_CHAT_SUGGESTION
95819598
description: Category of the result, one of the requested categories in incoming request.
95829599
primaryEntry:
95839600
$ref: "#/components/schemas/FeedEntry"

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.603.0
1+
speakeasyVersion: 1.606.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:8f18d79a0a7d8f51de7edd5bc8ca3ccc569b81832ffc44ce95a27a12e67b9b7d
6-
sourceBlobDigest: sha256:bb3e5a453f03cbdecf3fb3925768ef4cb0b3119083d9d36c341e1ecd721cde8b
5+
sourceRevisionDigest: sha256:f5cb7b773846ee1562a25e51f318526c871f65cc159ef2768b76875a9b0877df
6+
sourceBlobDigest: sha256:35dc3bc84d3ecd1af085912d22ea4ca65607c9e71b28536c96c39586395d3215
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1752597387
9+
- speakeasy-sdk-regen-1755200990
1010
Glean Client API:
1111
sourceNamespace: glean-client-api
1212
sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2
@@ -17,10 +17,10 @@ targets:
1717
glean:
1818
source: Glean API
1919
sourceNamespace: glean-api-specs
20-
sourceRevisionDigest: sha256:8f18d79a0a7d8f51de7edd5bc8ca3ccc569b81832ffc44ce95a27a12e67b9b7d
21-
sourceBlobDigest: sha256:bb3e5a453f03cbdecf3fb3925768ef4cb0b3119083d9d36c341e1ecd721cde8b
20+
sourceRevisionDigest: sha256:f5cb7b773846ee1562a25e51f318526c871f65cc159ef2768b76875a9b0877df
21+
sourceBlobDigest: sha256:35dc3bc84d3ecd1af085912d22ea4ca65607c9e71b28536c96c39586395d3215
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:de3bba82d5dbca7c1e5176fccda54e82660c50b9dbe534a26fba17e65abf4dc1
23+
codeSamplesRevisionDigest: sha256:cb94ce7264e75c97f86ad0440b8a5f5a1af3e6834349301b3cda16eb38a272aa
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ with Glean(
146146

147147
res = glean.client.chat.create(messages=[
148148
{
149-
"author": models.Author.USER,
150149
"fragments": [
151150
models.ChatMessageFragment(
152151
text="What are the company holidays this year?",
@@ -176,7 +175,6 @@ async def main():
176175

177176
res = await glean.client.chat.create_async(messages=[
178177
{
179-
"author": models.Author.USER,
180178
"fragments": [
181179
models.ChatMessageFragment(
182180
text="What are the company holidays this year?",
@@ -205,7 +203,6 @@ with Glean(
205203

206204
res = glean.client.chat.create_stream(messages=[
207205
{
208-
"author": models.Author.USER,
209206
"fragments": [
210207
models.ChatMessageFragment(
211208
text="What are the company holidays this year?",
@@ -235,7 +232,6 @@ async def main():
235232

236233
res = await glean.client.chat.create_stream_async(messages=[
237234
{
238-
"author": models.Author.USER,
239235
"fragments": [
240236
models.ChatMessageFragment(
241237
text="What are the company holidays this year?",

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,14 @@ Based on:
198198
### Generated
199199
- [python v0.7.2] .
200200
### Releases
201-
- [PyPI v0.7.2] https://pypi.org/project/glean/0.7.2 - .
201+
- [PyPI v0.7.2] https://pypi.org/project/glean/0.7.2 - .
202+
203+
## 2025-08-21 01:37:21
204+
### Changes
205+
Based on:
206+
- OpenAPI Doc
207+
- Speakeasy CLI 1.606.0 (2.686.7) https://github.com/speakeasy-api/speakeasy
208+
### Generated
209+
- [python v0.7.3] .
210+
### Releases
211+
- [PyPI v0.7.3] https://pypi.org/project/glean/0.7.3 - .

USAGE.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ with Glean(
1111

1212
res = glean.client.chat.create(messages=[
1313
{
14-
"author": models.Author.USER,
1514
"fragments": [
1615
models.ChatMessageFragment(
1716
text="What are the company holidays this year?",
@@ -41,7 +40,6 @@ async def main():
4140

4241
res = await glean.client.chat.create_async(messages=[
4342
{
44-
"author": models.Author.USER,
4543
"fragments": [
4644
models.ChatMessageFragment(
4745
text="What are the company holidays this year?",
@@ -68,7 +66,6 @@ with Glean(
6866

6967
res = glean.client.chat.create_stream(messages=[
7068
{
71-
"author": models.Author.USER,
7269
"fragments": [
7370
models.ChatMessageFragment(
7471
text="What are the company holidays this year?",
@@ -98,7 +95,6 @@ async def main():
9895

9996
res = await glean.client.chat.create_stream_async(messages=[
10097
{
101-
"author": models.Author.USER,
10298
"fragments": [
10399
models.ChatMessageFragment(
104100
text="What are the company holidays this year?",

docs/models/chatsuggestion.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# ChatSuggestion
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- |
8+
| `query` | *Optional[str]* | :heavy_minus_sign: | The actionable chat query to run when the user selects this suggestion. |
9+
| `feature` | *Optional[str]* | :heavy_minus_sign: | Targeted Glean Chat feature for the suggestion. |

docs/models/clustertypeenum.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@ The reason for inclusion of clusteredResults.
55

66
## Values
77

8-
| Name | Value |
9-
| -------------- | -------------- |
10-
| `SIMILAR` | SIMILAR |
11-
| `FRESHNESS` | FRESHNESS |
12-
| `TITLE` | TITLE |
13-
| `CONTENT` | CONTENT |
14-
| `NONE` | NONE |
15-
| `THREAD_REPLY` | THREAD_REPLY |
16-
| `THREAD_ROOT` | THREAD_ROOT |
17-
| `PREFIX` | PREFIX |
18-
| `SUFFIX` | SUFFIX |
8+
| Name | Value |
9+
| --------------- | --------------- |
10+
| `SIMILAR` | SIMILAR |
11+
| `FRESHNESS` | FRESHNESS |
12+
| `TITLE` | TITLE |
13+
| `CONTENT` | CONTENT |
14+
| `NONE` | NONE |
15+
| `THREAD_REPLY` | THREAD_REPLY |
16+
| `THREAD_ROOT` | THREAD_ROOT |
17+
| `PREFIX` | PREFIX |
18+
| `SUFFIX` | SUFFIX |
19+
| `AUTHOR_PREFIX` | AUTHOR_PREFIX |
20+
| `AUTHOR_SUFFIX` | AUTHOR_SUFFIX |

docs/models/feedentry.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
| `collection_item` | [Optional[models.CollectionItem]](../models/collectionitem.md) | :heavy_minus_sign: | N/A | |
2222
| `person` | [Optional[models.Person]](../models/person.md) | :heavy_minus_sign: | N/A | {<br/>"name": "George Clooney",<br/>"obfuscatedId": "abc123"<br/>} |
2323
| `app` | [Optional[models.AppResult]](../models/appresult.md) | :heavy_minus_sign: | N/A | |
24+
| `chat_suggestion` | [Optional[models.ChatSuggestion]](../models/chatsuggestion.md) | :heavy_minus_sign: | N/A | |
2425
| `prompt_template` | [Optional[models.PromptTemplateResult]](../models/prompttemplateresult.md) | :heavy_minus_sign: | N/A | |
2526
| `workflow` | [Optional[models.WorkflowResult]](../models/workflowresult.md) | :heavy_minus_sign: | N/A | |
2627
| `activities` | List[[models.UserActivity](../models/useractivity.md)] | :heavy_minus_sign: | List of activity where each activity has user, action, timestamp. | |

0 commit comments

Comments
 (0)