Skip to content

Commit e7ff339

Browse files
authored
feat: remove experimental tags for AI functions and types (#398)
1 parent e8004cc commit e7ff339

File tree

7 files changed

+5
-29
lines changed

7 files changed

+5
-29
lines changed

.changeset/polite-bags-play.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@aws-amplify/data-schema": minor
3+
---
4+
5+
Remove experimental tag for AI functions and types

packages/data-schema-types/docs/data-schema-types.aimodel.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
## AiModel type
66

7-
87
**Signature:**
98

109
```typescript

packages/data-schema-types/docs/data-schema-types.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ Description
9999
</td><td>
100100

101101

102-
103102
</td></tr>
104103
<tr><td>
105104

packages/data-schema-types/src/builder/types.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,6 @@ type BackendSecret = {
113113
resolvePath: (backendIdentifier: any) => any;
114114
};
115115

116-
/**
117-
* @experimental
118-
*/
119116
export type AiModel = {
120117
resourcePath: string;
121118
}

packages/data-schema/src/CustomOperation.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,6 @@ export interface GenerationInput {
384384
}
385385

386386
/**
387-
* @experimental
388-
*
389387
* Define an AI generation route for single request-response interaction with specified AI model.
390388
* @example
391389
* makeRecipe: a.generation({

packages/data-schema/src/ai/ConversationType.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -54,38 +54,28 @@ interface ConversationRouteListInput {
5454

5555
export interface ConversationRoute {
5656
/**
57-
* @experimental
58-
*
5957
* Creates a {@link Conversation} from the current conversation route.
6058
*/
6159
create: (
6260
input?: ConversationRouteCreateInput,
6361
) => SingularReturnValue<Conversation>;
6462
/**
65-
* @experimental
66-
*
6763
* Creates a {@link Conversation} from the current conversation route.
6864
*/
6965
update: (
7066
input: ConversationRouteUpdateInput,
7167
) => SingularReturnValue<Conversation>;
7268
/**
73-
* @experimental
74-
*
7569
* Gets an existing {@link Conversation} based on ID.
7670
*/
7771
get: (input: ConversationRouteGetInput) => SingularReturnValue<Conversation>;
7872
/**
79-
* @experimental
80-
*
8173
* Deletes an existing {@link Conversation} based on ID.
8274
*/
8375
delete: (
8476
input: ConversationRouteDeleteInput,
8577
) => SingularReturnValue<Conversation>;
8678
/**
87-
* @experimental
88-
*
8979
* Lists all existing {@link Conversation}s on the current conversation route.
9080
*/
9181
list: (input?: ConversationRouteListInput) => ListReturnValue<Conversation>;
@@ -120,24 +110,18 @@ export interface Conversation {
120110
metadata?: Record<string, any>;
121111
name?: string;
122112
/**
123-
* @experimental
124-
*
125113
* Sends a message to the current conversation.
126114
*/
127115
sendMessage: (
128116
input: ConversationSendMessageInput | string,
129117
) => SingularReturnValue<ConversationMessage>;
130118
/**
131-
* @experimental
132-
*
133119
* Lists all existing messages for the current conversation.
134120
*/
135121
listMessages: (
136122
input?: ConversationListMessagesInput,
137123
) => ListReturnValue<ConversationMessage>;
138124
/**
139-
* @experimental
140-
*
141125
* Subscribes to new stream events on the current conversation.
142126
*/
143127
onStreamEvent: (handler: ConversationOnStreamEventHandler) => Subscription;
@@ -164,8 +148,6 @@ interface QueryToolDefinition extends ToolDefinitionBase {
164148
export type DataToolDefinition = ModelToolDefinition | QueryToolDefinition;
165149

166150
/**
167-
* @experimental
168-
*
169151
* Define a data tool to be used within an AI conversation route.
170152
*
171153
* @remarks
@@ -263,8 +245,6 @@ function _conversation(input: ConversationInput): ConversationType {
263245
}
264246

265247
/**
266-
* @experimental
267-
*
268248
* Define an AI conversation route which enables multi-turn conversation APIs for interacting with specified AI model.
269249
* @example
270250
* realtorChat: a.conversation({

packages/data-schema/src/ai/ModelType.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ export interface InferenceConfiguration {
3131
}
3232

3333
/**
34-
* @experimental
35-
*
3634
* Bedrock models currently supporting Converse API and Tool use
3735
* @see {@link https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference.html#conversation-inference-supported-models-features}
3836
*/

0 commit comments

Comments
 (0)