You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .speakeasy/glean-merged-spec.yaml
+97-1Lines changed: 97 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7287,7 +7287,7 @@ components:
7287
7287
additionalProperties:
7288
7288
$ref: "#/components/schemas/WriteActionParameter"
7289
7289
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.
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, agentRecommendation or file.
7291
7291
allOf:
7292
7292
- $ref: "#/components/schemas/Result"
7293
7293
- type: object
@@ -7354,6 +7354,7 @@ components:
7354
7354
ERROR: A message that describes an error while processing the request.
7355
7355
HEADING: A heading message used to distinguish different sections of the holistic response.
7356
7356
WARNING: A warning message to be shown to the user.
7357
+
SERVER_TOOL_REQUEST: A message used to request server-side tool auth/use.
7357
7358
enum:
7358
7359
- UPDATE
7359
7360
- CONTENT
@@ -7363,6 +7364,7 @@ components:
7363
7364
- ERROR
7364
7365
- HEADING
7365
7366
- WARNING
7367
+
- SERVER_TOOL_REQUEST
7366
7368
hasMoreFragments:
7367
7369
deprecated: true
7368
7370
type: boolean
@@ -7489,12 +7491,18 @@ components:
7489
7491
description: A historical representation of a series of chat messages a user had with Glean Assistant.
description: Categories of content requested. An allowlist gives flexibility to request content separately or together.
9157
9166
requestOptions:
9158
9167
$ref: "#/components/schemas/FeedRequestOptions"
@@ -9308,6 +9317,87 @@ components:
9308
9317
type: array
9309
9318
items:
9310
9319
$ref: "#/components/schemas/GeneratedAttachment"
9320
+
SectionType:
9321
+
type: string
9322
+
description: Type of the section. This defines how the section should be interpreted and rendered in the digest.
9323
+
x-enumDescriptions:
9324
+
CHANNEL: A standard section for channel-based digests (e.g. from Slack, Teams).
9325
+
MENTIONS: A dedicated section that surfaces user mentions (actionable, informative, or all).
9326
+
TOPIC: A section driven by a generic topic, not tied to any specific channel or instance.
9327
+
enum:
9328
+
- CHANNEL
9329
+
- MENTIONS
9330
+
- TOPIC
9331
+
UpdateType:
9332
+
type: string
9333
+
description: Optional type classification for the update.
9334
+
x-enumDescriptions:
9335
+
ACTIONABLE: Updates that require user attention or action
9336
+
INFORMATIVE: Updates that are purely informational
9337
+
enum:
9338
+
- ACTIONABLE
9339
+
- INFORMATIVE
9340
+
DigestUpdate:
9341
+
type: object
9342
+
properties:
9343
+
url:
9344
+
type: string
9345
+
description: URL link to the content or document.
9346
+
title:
9347
+
type: string
9348
+
description: Title or headline of the update.
9349
+
datasource:
9350
+
type: string
9351
+
description: Name or identifier of the data source (e.g., slack, confluence, etc.).
9352
+
summary:
9353
+
type: string
9354
+
description: Brief summary or description of the update content.
9355
+
type:
9356
+
$ref: "#/components/schemas/UpdateType"
9357
+
DigestSection:
9358
+
type: object
9359
+
required:
9360
+
- id
9361
+
- type
9362
+
- updates
9363
+
properties:
9364
+
id:
9365
+
type: string
9366
+
description: Unique identifier for the digest section.
9367
+
type:
9368
+
$ref: "#/components/schemas/SectionType"
9369
+
displayName:
9370
+
type: string
9371
+
description: Human-readable name for the digest section.
9372
+
channelName:
9373
+
type: string
9374
+
description: Name of the channel (applicable for CHANNEL type sections). Used to display in the frontend.
9375
+
instanceId:
9376
+
type: string
9377
+
description: Instance identifier for the channel or workspace. Used for constructing channel URLs to display in the frontend.
9378
+
url:
9379
+
type: string
9380
+
description: Optional URL for the digest section. Should be populated only if the section is a CHANNEL type section.
9381
+
updates:
9382
+
type: array
9383
+
items:
9384
+
$ref: "#/components/schemas/DigestUpdate"
9385
+
description: List of updates within this digest section.
9386
+
Digest:
9387
+
type: object
9388
+
properties:
9389
+
podcastFileId:
9390
+
type: string
9391
+
description: Identifier for the podcast file generated from this digest content.
9392
+
digestDate:
9393
+
type: string
9394
+
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.
9395
+
example: "2025-09-03"
9396
+
sections:
9397
+
type: array
9398
+
items:
9399
+
$ref: "#/components/schemas/DigestSection"
9400
+
description: Array of digest sections from which the podcast was created.
9311
9401
ChatSuggestion:
9312
9402
properties:
9313
9403
query:
@@ -9530,6 +9620,7 @@ components:
9530
9620
- ZERO_STATE_STATIC_WORKFLOW_SUGGESTION
9531
9621
- ZERO_STATE_AGENT_SUGGESTION
9532
9622
- PERSONALIZED_CHAT_SUGGESTION
9623
+
- DAILY_DIGEST
9533
9624
description: Type of the justification.
9534
9625
justification:
9535
9626
type: string
@@ -9546,6 +9637,8 @@ components:
9546
9637
$ref: "#/components/schemas/CalendarEvent"
9547
9638
announcement:
9548
9639
$ref: "#/components/schemas/Announcement"
9640
+
digest:
9641
+
$ref: "#/components/schemas/Digest"
9549
9642
collection:
9550
9643
$ref: "#/components/schemas/Collection"
9551
9644
collectionItem:
@@ -9598,6 +9691,7 @@ components:
9598
9691
- ZERO_STATE_WORKFLOW_POPULAR
9599
9692
- ZERO_STATE_WORKFLOW_SUGGESTION
9600
9693
- PERSONALIZED_CHAT_SUGGESTION
9694
+
- DAILY_DIGEST
9601
9695
description: Category of the result, one of the requested categories in incoming request.
9602
9696
primaryEntry:
9603
9697
$ref: "#/components/schemas/FeedEntry"
@@ -11595,6 +11689,7 @@ components:
11595
11689
- EXTERNAL_SHORTCUT
11596
11690
- ENTITY
11597
11691
- CALENDAR
11692
+
- AGENTS
11598
11693
description: The document category of this object type.
11599
11694
propertyDefinitions:
11600
11695
type: array
@@ -11649,6 +11744,7 @@ components:
11649
11744
- EXTERNAL_SHORTCUT
11650
11745
- ENTITY
11651
11746
- CALENDAR
11747
+
- AGENTS
11652
11748
default: UNCATEGORIZED
11653
11749
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.
Copy file name to clipboardExpand all lines: docs/models/chat.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,4 +15,6 @@ A historical representation of a series of chat messages a user had with Glean A
15
15
|`application_id`|*Optional[str]*|:heavy_minus_sign:| The ID of the AI App that this Chat is associated to. ||
16
16
|`application_name`|*Optional[str]*|:heavy_minus_sign:| The display name of the AI App that this Chat is associated to. ||
17
17
|`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. ||
Copy file name to clipboardExpand all lines: docs/models/chatmessagefragment.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# ChatMessageFragment
2
2
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.
0 commit comments