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
+101-1Lines changed: 101 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,91 @@ 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
+
podcastDuration:
9393
+
type: number
9394
+
format: float
9395
+
description: Duration of the podcast file in seconds.
9396
+
digestDate:
9397
+
type: string
9398
+
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.
9399
+
example: "2025-09-03"
9400
+
sections:
9401
+
type: array
9402
+
items:
9403
+
$ref: "#/components/schemas/DigestSection"
9404
+
description: Array of digest sections from which the podcast was created.
9311
9405
ChatSuggestion:
9312
9406
properties:
9313
9407
query:
@@ -9530,6 +9624,7 @@ components:
9530
9624
- ZERO_STATE_STATIC_WORKFLOW_SUGGESTION
9531
9625
- ZERO_STATE_AGENT_SUGGESTION
9532
9626
- PERSONALIZED_CHAT_SUGGESTION
9627
+
- DAILY_DIGEST
9533
9628
description: Type of the justification.
9534
9629
justification:
9535
9630
type: string
@@ -9546,6 +9641,8 @@ components:
9546
9641
$ref: "#/components/schemas/CalendarEvent"
9547
9642
announcement:
9548
9643
$ref: "#/components/schemas/Announcement"
9644
+
digest:
9645
+
$ref: "#/components/schemas/Digest"
9549
9646
collection:
9550
9647
$ref: "#/components/schemas/Collection"
9551
9648
collectionItem:
@@ -9598,6 +9695,7 @@ components:
9598
9695
- ZERO_STATE_WORKFLOW_POPULAR
9599
9696
- ZERO_STATE_WORKFLOW_SUGGESTION
9600
9697
- PERSONALIZED_CHAT_SUGGESTION
9698
+
- DAILY_DIGEST
9601
9699
description: Category of the result, one of the requested categories in incoming request.
9602
9700
primaryEntry:
9603
9701
$ref: "#/components/schemas/FeedEntry"
@@ -11595,6 +11693,7 @@ components:
11595
11693
- EXTERNAL_SHORTCUT
11596
11694
- ENTITY
11597
11695
- CALENDAR
11696
+
- AGENTS
11598
11697
description: The document category of this object type.
11599
11698
propertyDefinitions:
11600
11699
type: array
@@ -11649,6 +11748,7 @@ components:
11649
11748
- EXTERNAL_SHORTCUT
11650
11749
- ENTITY
11651
11750
- CALENDAR
11751
+
- AGENTS
11652
11752
default: UNCATEGORIZED
11653
11753
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