Skip to content

feat: introduce support for the new Suggestion AI Action type#2699

Open
Bohdan Hutsol (bgutsol) wants to merge 5 commits intomasterfrom
BBEE-1361-suggestion-ai-action
Open

feat: introduce support for the new Suggestion AI Action type#2699
Bohdan Hutsol (bgutsol) wants to merge 5 commits intomasterfrom
BBEE-1361-suggestion-ai-action

Conversation

@bgutsol
Copy link
Copy Markdown
Contributor

  • Enhanced AI Action type system - Renamed core types with AiAction prefix for better clarity and consistency (VariableTypeAiActionVariableType, ConfigurationAiActionConfiguration, etc.)

  • Added scope and output type enums - Introduced AiActionScope (Entry/EntryField) and AiActionOutputType (Generation/Suggestion) to support new Suggestion AI Action type

  • Expanded suggestion support - Added new content block types (AiActionMarkdownBlock, AiActionSuggestionBlock) and enhanced invocation results to support structured suggestion content that comes from the Suggestion AI Action type

…locks

- Added 'Suggestion' to AiActionOutputFormat.
- Introduced AiActionMarkdownBlock and AiActionSuggestionBlock types.
- Updated InvocationResult to support an array of AiActionSuggestionContentBlock.
…ion configurations

- Added AiActionScope with 'Entry' and 'EntryField' options.
- Introduced AiActionOutputType with 'Generation' and 'Suggestion' types.
- Updated Configuration type to include optional scope and outputType properties.
@bgutsol Bohdan Hutsol (bgutsol) requested a review from a team as a code owner July 16, 2025 10:52
export type AiActionConfiguration = {
modelType: string
modelTemperature: number
scope?: AiActionScopeType
Copy link
Copy Markdown
Contributor

@cemreyuksel cemreyuksel Jul 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might want to make these parameters required once we release. We can discuss.

cemreyuksel
cemreyuksel previously approved these changes Jul 17, 2025
Copy link
Copy Markdown
Contributor

@cemreyuksel cemreyuksel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants