Skip to content

Commit 0745799

Browse files
committed
## Python SDK Changes Detected:
* `glean.client.documents.summarize()`: * `request.document_specs.[].[class]` **Changed** **Breaking** ⚠️ * `glean.client.documents.retrieve()`: * `request.document_specs.[].[class]` **Changed** **Breaking** ⚠️ * `response.documents.{}.[document].metadata.author.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.answers.create()`: * `request.data.added_roles.[].source_document_spec.[class]` **Changed** **Breaking** ⚠️ * `response.added_roles.[].source_document_spec.[class]` **Changed** * `glean.client.answers.update()`: * `request.added_roles.[].source_document_spec.[class]` **Changed** **Breaking** ⚠️ * `response.added_roles.[].source_document_spec.[class]` **Changed** * `glean.client.shortcuts.update()`: * `request.added_roles.[].source_document_spec.[class]` **Changed** **Breaking** ⚠️ * `response.shortcut.added_roles.[].source_document_spec.[class]` **Changed** * `glean.client.shortcuts.create()`: * `request.data.added_roles.[].source_document_spec.[class]` **Changed** **Breaking** ⚠️ * `response.shortcut.added_roles.[].source_document_spec.[class]` **Changed** * `glean.client.chat.create()`: * `request.messages.[].citations.[].source_document.metadata.author.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** **Breaking** ⚠️ * `response.messages.[].citations.[].source_document.metadata.author.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.search.query()`: * `request.source_document.metadata.author.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** **Breaking** ⚠️ * `response.results.[].structured_results.[].document.metadata.author.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.search.recommendations()`: * `request.source_document.metadata.author.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** **Breaking** ⚠️ * `response.results.[].structured_results.[].document.metadata.author.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.search.query_as_admin()`: * `request.source_document.metadata.author.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** **Breaking** ⚠️ * `response.results.[].structured_results.[].document.metadata.author.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.chat.create_stream()`: * `request.messages.[].citations.[].source_document.metadata.author.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** **Breaking** ⚠️ * `glean.client.announcements.create()`: * `request.body.structured_list.[].document.metadata.author.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** **Breaking** ⚠️ * `response.body.structured_list.[].document.metadata.author.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.collections.create()`: * `request.added_roles.[].source_document_spec.[class]` **Changed** **Breaking** ⚠️ * `response` **Changed** **Breaking** ⚠️ * `glean.client.announcements.update()`: * `request.body.structured_list.[].document.metadata.author.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** **Breaking** ⚠️ * `response.body.structured_list.[].document.metadata.author.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.collections.update()`: * `request.added_roles.[].source_document_spec.[class]` **Changed** **Breaking** ⚠️ * `response.added_roles.[].source_document_spec.[class]` **Changed** * `glean.client.collections.add_items()`: `response.collection.added_roles.[].source_document_spec.[class]` **Changed** * `glean.client.search.autocomplete()`: `response.results.[].document.metadata.author.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.collections.list()`: `response.collections.[].added_roles.[].source_document_spec.[class]` **Changed** * `glean.client.collections.update_item()`: `response.collection.added_roles.[].source_document_spec.[class]` **Changed** * `glean.client.documents.retrieve_by_facets()`: `response.documents.[].metadata.author.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.collections.delete_item()`: `response.collection.added_roles.[].source_document_spec.[class]` **Changed** * `glean.client.insights.retrieve()`: `response.users.activity_insights.[].user.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.messages.retrieve()`: `response.search_response.results.[].structured_results.[].document.metadata.author.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.pins.update()`: `response.attribution.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.pins.retrieve()`: `response.pin.attribution.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.pins.list()`: `response.pins.[].attribution.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.pins.create()`: `response.attribution.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.chat.retrieve_files()`: `request.chat_id` **Added** * `glean.client.collections.retrieve()`: `response.collection.added_roles.[].source_document_spec.[class]` **Changed** * `glean.client.search.retrieve_feed()`: `response.results.[].primary_entry` **Changed** * `glean.client.chat.list()`: `response.chat_results.[].chat.created_by.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.chat.retrieve()`: `response.chat_result.chat` **Changed** * `glean.client.entities.list()`: `response.results.[].related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.entities.read_people()`: `response.results.[].related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.answers.list()`: `response.answer_results.[].answer.added_roles.[].source_document_spec.[class]` **Changed** * `glean.client.shortcuts.retrieve()`: `response.shortcut.added_roles.[].source_document_spec.[class]` **Changed** * `glean.client.shortcuts.list()`: `response.shortcuts.[].added_roles.[].source_document_spec.[class]` **Changed** * `glean.client.answers.retrieve()`: `response.answer_result.answer.added_roles.[].source_document_spec.[class]` **Changed** * `glean.client.verification.add_reminder()`: `response.metadata.last_verifier.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.verification.list()`: `response.documents.[].metadata.last_verifier.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed** * `glean.client.verification.verify()`: `response.metadata.last_verifier.related_documents.[].query_suggestion.request_options.inclusions.container_specs.[].[class]` **Changed**
1 parent 8bc35c4 commit 0745799

File tree

85 files changed

+1573
-961
lines changed

Some content is hidden

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

85 files changed

+1573
-961
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.env
2+
.env.local
13
**/__pycache__/
24
**/.speakeasy/temp/
35
**/.speakeasy/logs/

.speakeasy/gen.lock

Lines changed: 33 additions & 16 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,15 @@ generation:
1919
auth:
2020
oAuth2ClientCredentialsEnabled: false
2121
oAuth2PasswordEnabled: false
22+
hoistGlobalSecurity: true
2223
mockServer:
2324
disabled: false
2425
tests:
2526
generateTests: true
2627
generateNewTests: true
2728
skipResponseBodyAssertions: true
2829
python:
29-
version: 0.7.3
30+
version: 0.7.4
3031
additionalDependencies:
3132
dev: {}
3233
main: {}
@@ -65,4 +66,5 @@ python:
6566
pytestFilterWarnings: []
6667
pytestTimeout: 0
6768
responseFormat: flat
69+
sseFlatResponse: false
6870
templateVersion: v2

.speakeasy/glean-merged-spec.yaml

Lines changed: 143 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4261,18 +4261,28 @@ components:
42614261
tokenType: Bearer
42624262
authUser: "1"
42634263
DocumentSpec:
4264+
x-multiple-discriminators: true
42644265
oneOf:
42654266
- type: object
4267+
required:
4268+
- url
42664269
properties:
42674270
url:
42684271
type: string
4272+
x-discriminator: true
42694273
description: The URL of the document.
42704274
- type: object
4275+
required:
4276+
- id
42714277
properties:
42724278
id:
42734279
type: string
4280+
x-discriminator: true
42744281
description: The ID of the document.
42754282
- type: object
4283+
required:
4284+
- contentId
4285+
- ugcType
42764286
properties:
42774287
ugcType:
42784288
type: string
@@ -4281,10 +4291,33 @@ components:
42814291
- ANSWERS
42824292
- COLLECTIONS
42834293
- SHORTCUTS
4294+
- CHATS
42844295
description: The type of the user generated content (UGC datasource).
42854296
contentId:
42864297
type: integer
4287-
description: The id for user generated content.
4298+
x-discriminator: true
4299+
description: The numeric id for user generated content. Used for ANNOUNCEMENTS, ANSWERS, COLLECTIONS, SHORTCUTS.
4300+
docType:
4301+
type: string
4302+
description: The specific type of the user generated content type.
4303+
- type: object
4304+
required:
4305+
- ugcType
4306+
- ugcId
4307+
properties:
4308+
ugcType:
4309+
type: string
4310+
enum:
4311+
- ANNOUNCEMENTS
4312+
- ANSWERS
4313+
- COLLECTIONS
4314+
- SHORTCUTS
4315+
- CHATS
4316+
description: The type of the user generated content (UGC datasource).
4317+
ugcId:
4318+
type: string
4319+
x-discriminator: true
4320+
description: The string id for user generated content. Used for CHATS.
42884321
docType:
42894322
type: string
42904323
description: The specific type of the user generated content type.
@@ -7287,7 +7320,7 @@ components:
72877320
additionalProperties:
72887321
$ref: "#/components/schemas/WriteActionParameter"
72897322
ChatMessageFragment:
7290-
description: Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, or file.
7323+
description: Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, agentRecommendation or file.
72917324
allOf:
72927325
- $ref: "#/components/schemas/Result"
72937326
- type: object
@@ -7354,6 +7387,7 @@ components:
73547387
ERROR: A message that describes an error while processing the request.
73557388
HEADING: A heading message used to distinguish different sections of the holistic response.
73567389
WARNING: A warning message to be shown to the user.
7390+
SERVER_TOOL: A message used to for server-side tool auth/use, for request and response.
73577391
enum:
73587392
- UPDATE
73597393
- CONTENT
@@ -7363,6 +7397,7 @@ components:
73637397
- ERROR
73647398
- HEADING
73657399
- WARNING
7400+
- SERVER_TOOL
73667401
hasMoreFragments:
73677402
deprecated: true
73687403
type: boolean
@@ -7489,12 +7524,18 @@ components:
74897524
description: A historical representation of a series of chat messages a user had with Glean Assistant.
74907525
allOf:
74917526
- $ref: "#/components/schemas/ChatMetadata"
7527+
- $ref: "#/components/schemas/PermissionedObject"
74927528
properties:
74937529
messages:
74947530
type: array
74957531
items:
74967532
$ref: "#/components/schemas/ChatMessage"
74977533
description: The chat messages within a Chat.
7534+
roles:
7535+
type: array
7536+
items:
7537+
$ref: "#/components/schemas/UserRoleSpecification"
7538+
description: A list of roles for this Chat.
74987539
ChatResult:
74997540
properties:
75007541
chat:
@@ -7558,6 +7599,9 @@ components:
75587599
items:
75597600
type: string
75607601
description: IDs of files to fetch.
7602+
chatId:
7603+
type: string
7604+
description: The ID of the chat that contains the chat file.
75617605
GetChatFilesResponse:
75627606
properties:
75637607
files:
@@ -7808,9 +7852,12 @@ components:
78087852
- NO_PERMISSIONS
78097853
CreateCollectionResponse:
78107854
allOf:
7811-
- $ref: "#/components/schemas/Collection"
7812-
- $ref: "#/components/schemas/CollectionError"
78137855
- type: object
7856+
anyOf:
7857+
- required:
7858+
- collection
7859+
- required:
7860+
- error
78147861
properties:
78157862
collection:
78167863
$ref: "#/components/schemas/Collection"
@@ -9153,6 +9200,7 @@ components:
91539200
- ZERO_STATE_WORKFLOW_POPULAR
91549201
- ZERO_STATE_WORKFLOW_SUGGESTION
91559202
- PERSONALIZED_CHAT_SUGGESTION
9203+
- DAILY_DIGEST
91569204
description: Categories of content requested. An allowlist gives flexibility to request content separately or together.
91579205
requestOptions:
91589206
$ref: "#/components/schemas/FeedRequestOptions"
@@ -9308,6 +9356,91 @@ components:
93089356
type: array
93099357
items:
93109358
$ref: "#/components/schemas/GeneratedAttachment"
9359+
SectionType:
9360+
type: string
9361+
description: Type of the section. This defines how the section should be interpreted and rendered in the digest.
9362+
x-enumDescriptions:
9363+
CHANNEL: A standard section for channel-based digests (e.g. from Slack, Teams).
9364+
MENTIONS: A dedicated section that surfaces user mentions (actionable, informative, or all).
9365+
TOPIC: A section driven by a generic topic, not tied to any specific channel or instance.
9366+
enum:
9367+
- CHANNEL
9368+
- MENTIONS
9369+
- TOPIC
9370+
UpdateType:
9371+
type: string
9372+
description: Optional type classification for the update.
9373+
x-enumDescriptions:
9374+
ACTIONABLE: Updates that require user attention or action
9375+
INFORMATIVE: Updates that are purely informational
9376+
enum:
9377+
- ACTIONABLE
9378+
- INFORMATIVE
9379+
DigestUpdate:
9380+
type: object
9381+
properties:
9382+
url:
9383+
type: string
9384+
description: URL link to the content or document.
9385+
title:
9386+
type: string
9387+
description: Title or headline of the update.
9388+
datasource:
9389+
type: string
9390+
description: Name or identifier of the data source (e.g., slack, confluence, etc.).
9391+
summary:
9392+
type: string
9393+
description: Brief summary or description of the update content.
9394+
type:
9395+
$ref: "#/components/schemas/UpdateType"
9396+
DigestSection:
9397+
type: object
9398+
required:
9399+
- id
9400+
- type
9401+
- updates
9402+
properties:
9403+
id:
9404+
type: string
9405+
description: Unique identifier for the digest section.
9406+
type:
9407+
$ref: "#/components/schemas/SectionType"
9408+
displayName:
9409+
type: string
9410+
description: Human-readable name for the digest section.
9411+
channelName:
9412+
type: string
9413+
description: Name of the channel (applicable for CHANNEL type sections). Used to display in the frontend.
9414+
instanceId:
9415+
type: string
9416+
description: Instance identifier for the channel or workspace. Used for constructing channel URLs to display in the frontend.
9417+
url:
9418+
type: string
9419+
description: Optional URL for the digest section. Should be populated only if the section is a CHANNEL type section.
9420+
updates:
9421+
type: array
9422+
items:
9423+
$ref: "#/components/schemas/DigestUpdate"
9424+
description: List of updates within this digest section.
9425+
Digest:
9426+
type: object
9427+
properties:
9428+
podcastFileId:
9429+
type: string
9430+
description: Identifier for the podcast file generated from this digest content.
9431+
podcastDuration:
9432+
type: number
9433+
format: float
9434+
description: Duration of the podcast file in seconds.
9435+
digestDate:
9436+
type: string
9437+
description: The date this digest covers, in YYYY-MM-DD format. Represents the specific day for which the digest content and updates were compiled. This can be empty if the digest is not yet available.
9438+
example: "2025-09-03"
9439+
sections:
9440+
type: array
9441+
items:
9442+
$ref: "#/components/schemas/DigestSection"
9443+
description: Array of digest sections from which the podcast was created.
93119444
ChatSuggestion:
93129445
properties:
93139446
query:
@@ -9530,6 +9663,7 @@ components:
95309663
- ZERO_STATE_STATIC_WORKFLOW_SUGGESTION
95319664
- ZERO_STATE_AGENT_SUGGESTION
95329665
- PERSONALIZED_CHAT_SUGGESTION
9666+
- DAILY_DIGEST
95339667
description: Type of the justification.
95349668
justification:
95359669
type: string
@@ -9546,6 +9680,8 @@ components:
95469680
$ref: "#/components/schemas/CalendarEvent"
95479681
announcement:
95489682
$ref: "#/components/schemas/Announcement"
9683+
digest:
9684+
$ref: "#/components/schemas/Digest"
95499685
collection:
95509686
$ref: "#/components/schemas/Collection"
95519687
collectionItem:
@@ -9598,6 +9734,7 @@ components:
95989734
- ZERO_STATE_WORKFLOW_POPULAR
95999735
- ZERO_STATE_WORKFLOW_SUGGESTION
96009736
- PERSONALIZED_CHAT_SUGGESTION
9737+
- DAILY_DIGEST
96019738
description: Category of the result, one of the requested categories in incoming request.
96029739
primaryEntry:
96039740
$ref: "#/components/schemas/FeedEntry"
@@ -11595,6 +11732,7 @@ components:
1159511732
- EXTERNAL_SHORTCUT
1159611733
- ENTITY
1159711734
- CALENDAR
11735+
- AGENTS
1159811736
description: The document category of this object type.
1159911737
propertyDefinitions:
1160011738
type: array
@@ -11649,6 +11787,7 @@ components:
1164911787
- EXTERNAL_SHORTCUT
1165011788
- ENTITY
1165111789
- CALENDAR
11790+
- AGENTS
1165211791
default: UNCATEGORIZED
1165311792
description: The type of this datasource. It is an important signal for relevance and must be specified and cannot be UNCATEGORIZED. Please refer to [this](https://developers.glean.com/docs/indexing_api_datasource_category/) for more details.
1165411793
urlRegex:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.606.9
1+
speakeasyVersion: 1.621.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:35193fded9c9797576c742f6e93e2e3e9d507aa2ab2c55a5458825561552f33e
6-
sourceBlobDigest: sha256:1dc638c477afb69ccc30ba6482d7ac2e7237238d44638da8d0c4ece45f36d416
5+
sourceRevisionDigest: sha256:bace32e110b23a5e6b5aaf70a48ef79be784366163da24e160b1c3df7f63c55c
6+
sourceBlobDigest: sha256:985b2061571feb8c4feedc282e63074e87eae5d82fb08c3812a16ef6e0a7bb48
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1755200990
9+
- speakeasy-sdk-regen-1756833812
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:35193fded9c9797576c742f6e93e2e3e9d507aa2ab2c55a5458825561552f33e
21-
sourceBlobDigest: sha256:1dc638c477afb69ccc30ba6482d7ac2e7237238d44638da8d0c4ece45f36d416
20+
sourceRevisionDigest: sha256:bace32e110b23a5e6b5aaf70a48ef79be784366163da24e160b1c3df7f63c55c
21+
sourceBlobDigest: sha256:985b2061571feb8c4feedc282e63074e87eae5d82fb08c3812a16ef6e0a7bb48
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:ec1033795495ed5feb092f4ca786534382c763ff1787a997db77303ef0539ad9
23+
codeSamplesRevisionDigest: sha256:98a13a63cdf737a90dd1b7477ea6c0ce8a80bbd62c3e5bdce09ca7d65585e69b
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,14 @@ Based on:
208208
### Generated
209209
- [python v0.7.3] .
210210
### Releases
211-
- [PyPI v0.7.3] https://pypi.org/project/glean/0.7.3 - .
211+
- [PyPI v0.7.3] https://pypi.org/project/glean/0.7.3 - .
212+
213+
## 2025-09-19 01:26:04
214+
### Changes
215+
Based on:
216+
- OpenAPI Doc
217+
- Speakeasy CLI 1.621.0 (2.707.0) https://github.com/speakeasy-api/speakeasy
218+
### Generated
219+
- [python v0.7.4] .
220+
### Releases
221+
- [PyPI v0.7.4] https://pypi.org/project/glean/0.7.4 - .

docs/models/chat.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ A historical representation of a series of chat messages a user had with Glean A
1515
| `application_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the AI App that this Chat is associated to. | |
1616
| `application_name` | *Optional[str]* | :heavy_minus_sign: | The display name of the AI App that this Chat is associated to. | |
1717
| `icon` | [Optional[models.IconConfig]](../models/iconconfig.md) | :heavy_minus_sign: | Defines how to render an icon | {<br/>"color": "#343CED",<br/>"key": "person_icon",<br/>"iconType": "GLYPH",<br/>"name": "user"<br/>} |
18-
| `messages` | List[[models.ChatMessage](../models/chatmessage.md)] | :heavy_minus_sign: | The chat messages within a Chat. | |
18+
| `permissions` | [Optional[models.ObjectPermissions]](../models/objectpermissions.md) | :heavy_minus_sign: | N/A | |
19+
| `messages` | List[[models.ChatMessage](../models/chatmessage.md)] | :heavy_minus_sign: | The chat messages within a Chat. | |
20+
| `roles` | List[[models.UserRoleSpecification](../models/userrolespecification.md)] | :heavy_minus_sign: | A list of roles for this Chat. | |

docs/models/chatmessagefragment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ChatMessageFragment
22

3-
Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, or file.
3+
Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, agentRecommendation or file.
44

55

66
## Fields

0 commit comments

Comments
 (0)