Module v1

Module v1 

Source

Modules§

assistant_content_part
Nested message and enum types in AssistantContentPart.
knowledge_base_service_client
Generated client implementations.
model_message
Nested message and enum types in ModelMessage.
stream_chat_response
Nested message and enum types in StreamChatResponse.
user_content_part
Nested message and enum types in UserContentPart.
workbook_agent_service_client
Generated client implementations.
workbook_mutation
Nested message and enum types in WorkbookMutation.

Structs§

AddOrReplaceVariableMutation
AddOrReplaceVariableMutation is a mutation to add or replace a variable in the workbook
AddOrUpdatePanelMutation
this is the “result” of the mutation
AddTabMutation
Add a new tab to the workbook
AssistantContentPart
Content part for assistant messages: can be text, reasoning, or mutation.
AssistantModelMessage
An assistant message containing text
CreateOrUpdateKnowledgeBaseRequest
CreateOrUpdateKnowledgeBaseRequest is a request to create a knowledge from an attachment in the attachment’s workspace. Subsequent calls for the same attachment will overwrite the existing knowledge base.
CreateOrUpdateKnowledgeBaseResponse
CreateOrUpdateKnowledgeBaseResponse is the response to creating/updating a knowledge base
DeleteRequest
DeleteResponse
DeleteVariablesMutation
DeleteVariablesMutation is a mutation to delete variables from the workbook
Error
An error that occurred during the chat session
Finish
Indicates the end of a chat session
GenerateSummaryDescriptionRequest
generate summary description is intentionally going to return the generated description to the frontend rather than storing it in the knowledge base directly because the description needs to be accepted by the user
GenerateSummaryDescriptionResponse
GetBatchRequest
GetBatchResponse
ImagePart
User-supplied image part.
KnowledgeBase
KnowledgeBase represents a knowledge base entry
ListRequest
ListResponse
ModelMessage
ModelMessage is a discriminated union of system, user, assistant, and tool messages. Each message type has its own structure and content.
ReasoningDelta
A delta (continuation) of a reasoning message from the agent
ReasoningEnd
Indicates the end of a reasoning message from the agent
ReasoningPart
Reasoning part for assistant messages.
ReasoningStart
Indicates the start of a reasoning message from the agent
RemovePanelsMutation
StreamChatRequest
StreamChatRequest is a request to stream chat messages for workbook AI agent
StreamChatResponse
StreamChatResponse is a discriminated union response to a StreamChatRequest
TextDelta
A delta (continuation) of a text message from the agent
TextEnd
Indicates the end of a text message from the agent
TextPart
Text part for user or assistant messages.
TextStart
Indicates the start of a text message from the agent
TimeRange
Timestamp
ToolAction
this is a concise descirption of a tool call that the agent is making internally without revealing too much detail about the tool call, it informs the user what the agent is doing at a high level. the format is: {tool_action_verb} {tool_target} for example: “Search channels for My Datasource”
UserContentPart
UserModelMessage
A user message containing text
WorkbookMutation
WorkbookMutation is a mutation to the workbook

Enums§

KnowledgeBaseType
KnowledgeBaseType defines the types of knowledge base