@squidcloud/client 1.0.389 → 1.0.391

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/dist/cjs/index.js +1 -1
  2. package/dist/esm/index.js +1 -1
  3. package/dist/internal-common/src/public-types/ai-agent.public-types.d.ts +17 -271
  4. package/dist/internal-common/src/public-types/ai-assistant.public-types.d.ts +2 -1
  5. package/dist/internal-common/src/public-types/ai-common.public-types.d.ts +185 -0
  6. package/dist/internal-common/src/public-types/ai-knowledge-base.public-types.d.ts +244 -0
  7. package/dist/internal-common/src/public-types/ai-matchmaking.public-types.d.ts +1 -1
  8. package/dist/internal-common/src/public-types/ai-query.public-types.d.ts +1 -1
  9. package/dist/internal-common/src/public-types/communication.public-types.d.ts +2 -0
  10. package/dist/internal-common/src/public-utils/context-utils.d.ts +1 -0
  11. package/dist/internal-common/src/types/ai-agent.types.d.ts +13 -2
  12. package/dist/internal-common/src/types/ai-knowledge-base.types.d.ts +115 -0
  13. package/dist/internal-common/src/types/observability.types.d.ts +6 -0
  14. package/dist/internal-common/src/utils/object.d.ts +1 -0
  15. package/dist/typescript-client/src/agent/ai-agent-client-reference.d.ts +2 -3
  16. package/dist/typescript-client/src/agent/ai-agent-client.types.d.ts +2 -1
  17. package/dist/typescript-client/src/ai-client.d.ts +5 -0
  18. package/dist/typescript-client/src/ai-knowledge-base.reference.d.ts +57 -0
  19. package/dist/typescript-client/src/index.d.ts +1 -0
  20. package/dist/typescript-client/src/personal-storage-client.d.ts +1 -1
  21. package/dist/typescript-client/src/public-types.d.ts +2 -0
  22. package/dist/typescript-client/src/version.d.ts +1 -1
  23. package/package.json +1 -1
@@ -1,184 +1,10 @@
1
+ import { AiAudioCreateSpeechModelName, AiAudioTranscriptionModelName, AiChatModelName, AiEmbeddingsModelName, AiImageModelName, AiProviderType, AiRerankProvider, AnthropicChatModelName, GeminiChatModelName, GrokChatModelName, OpenAiAudioCreateSpeechModelName, OpenAiAudioTranscriptionModelName, OpenAiChatModelName, OpenAiCreateSpeechFormat, OpenAiReasoningChatModelName } from './ai-common.public-types';
2
+ import { AiContextMetadata, AiContextMetadataFilter, AiKnowledgeBaseContextType, AiRagType } from './ai-knowledge-base.public-types';
1
3
  import { AiFunctionId, AiFunctionIdWithContext, UserAiChatModelName } from './backend.public-types';
2
- import { AiAgentId, AiContextId, IntegrationId } from './communication.public-types';
4
+ import { AiAgentId, AiContextId, AiKnowledgeBaseId, IntegrationId } from './communication.public-types';
3
5
  import { IntegrationType } from './integration.public-types';
4
6
  import { JobId } from './job.public-types';
5
7
  import { SecretKey } from './secret.public-types';
6
- /** List of available AI provider types. See AiProviderType. */
7
- export declare const AI_PROVIDER_TYPES: readonly ["anthropic", "flux", "gemini", "openai", "grok", "stability", "voyage", "external"];
8
- /**
9
- * Type of the AI provider.
10
- * References a single AI service, regardless of the model or other AI function it provides (like
11
- * chat/search/transcribe etc...).
12
- */
13
- export type AiProviderType = (typeof AI_PROVIDER_TYPES)[number];
14
- /**
15
- * The supported OpenAI models.
16
- * @category AI
17
- */
18
- export declare const OPENAI_O1_CHAT_MODEL_NAMES: readonly ["o1"];
19
- /**
20
- * @category AI
21
- */
22
- export declare const OPENAI_REASONING_CHAT_MODEL_NAMES: readonly ["o1", "o3", "o3-mini", "o4-mini"];
23
- /**
24
- * @category AI
25
- */
26
- export declare const OPENAI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini", "gpt-4.1-nano", "gpt-4.1-mini", "gpt-4.1", "o1", "o3", "o3-mini", "o4-mini"];
27
- /**
28
- * @category AI
29
- */
30
- export declare const GEMINI_CHAT_MODEL_NAMES: readonly ["gemini-2.5-pro", "gemini-2.5-flash", "gemini-2.5-flash-lite"];
31
- /**
32
- * Notes:
33
- * - 'grok-3-mini' model os ~10x less expensive than 'grok-3'.
34
- * - '*-fast' models are ~2x more expensive than non-fast variants and only marginally faster.
35
- * - 'grok-4' cost is comparable to 'grok-3-fast'.
36
- *
37
- * @category AI
38
- */
39
- export declare const GROK_CHAT_MODEL_NAMES: readonly ["grok-3", "grok-3-fast", "grok-3-mini", "grok-3-mini-fast", "grok-4"];
40
- /**
41
- * @category AI
42
- */
43
- export declare const ANTHROPIC_CHAT_MODEL_NAMES: readonly ["claude-3-7-sonnet-latest", "claude-opus-4-20250514", "claude-sonnet-4-20250514"];
44
- /**
45
- * The supported AI model names.
46
- * @category AI
47
- */
48
- export declare const VENDOR_AI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini", "gpt-4.1-nano", "gpt-4.1-mini", "gpt-4.1", "o1", "o3", "o3-mini", "o4-mini", "claude-3-7-sonnet-latest", "claude-opus-4-20250514", "claude-sonnet-4-20250514", "gemini-2.5-pro", "gemini-2.5-flash", "gemini-2.5-flash-lite", "grok-3", "grok-3-fast", "grok-3-mini", "grok-3-mini-fast", "grok-4"];
49
- /**
50
- * Check if the given model name is a global AI chat model name.
51
- */
52
- export declare function isVendorAiChatModelName(modelName: string): modelName is (typeof VENDOR_AI_CHAT_MODEL_NAMES)[number];
53
- /**
54
- * @category AI
55
- */
56
- export declare const OPENAI_EMBEDDINGS_MODEL_NAMES: readonly ["text-embedding-3-small"];
57
- /**
58
- * @category AI
59
- */
60
- export declare const VOYAGE_EMBEDDING_MODEL_NAMES: readonly ["voyage-3-large"];
61
- /**
62
- * @category AI
63
- */
64
- export declare const AI_EMBEDDINGS_MODEL_NAMES: readonly ["text-embedding-3-small", "voyage-3-large"];
65
- /**
66
- * The supported AI image generation model names.
67
- * @category AI
68
- */
69
- export declare const OPENAI_IMAGE_MODEL_NAMES: readonly ["dall-e-3"];
70
- /**
71
- * @category AI
72
- */
73
- export declare const OPENAI_AUDIO_TRANSCRIPTION_MODEL_NAMES: readonly ["whisper-1", "gpt-4o-transcribe", "gpt-4o-mini-transcribe"];
74
- /**
75
- * @category AI
76
- */
77
- export declare const OPENAI_AUDIO_CREATE_SPEECH_MODEL_NAMES: readonly ["tts-1", "tts-1-hd", "gpt-4o-mini-tts"];
78
- /**
79
- * @category AI
80
- */
81
- export declare const OPENAI_AUDIO_MODEL_NAMES: readonly ["whisper-1", "gpt-4o-transcribe", "gpt-4o-mini-transcribe", "tts-1", "tts-1-hd", "gpt-4o-mini-tts"];
82
- /**
83
- * @category AI
84
- */
85
- export declare const STABLE_DIFFUSION_MODEL_NAMES: readonly ["stable-diffusion-core"];
86
- /**
87
- * @category AI
88
- */
89
- export declare const FLUX_MODEL_NAMES: readonly ["flux-pro-1.1"];
90
- /**
91
- * @category AI
92
- */
93
- export declare const AI_IMAGE_MODEL_NAMES: readonly ["dall-e-3", "stable-diffusion-core", "flux-pro-1.1"];
94
- /**
95
- * @category AI
96
- */
97
- export declare const AI_AUDIO_TRANSCRIPTION_MODEL_NAMES: readonly ["whisper-1", "gpt-4o-transcribe", "gpt-4o-mini-transcribe"];
98
- /**
99
- * @category AI
100
- */
101
- export declare const AI_AUDIO_CREATE_SPEECH_MODEL_NAMES: readonly ["tts-1", "tts-1-hd", "gpt-4o-mini-tts"];
102
- /**
103
- * @category AI
104
- */
105
- export declare const OPEN_AI_CREATE_SPEECH_FORMATS: readonly ["mp3", "opus", "aac", "flac", "wav", "pcm"];
106
- /**
107
- * @category AI
108
- */
109
- export type VendorAiChatModelName = (typeof VENDOR_AI_CHAT_MODEL_NAMES)[number];
110
- /**
111
- * @category AI
112
- */
113
- export type AiChatModelName = VendorAiChatModelName | UserAiChatModelName;
114
- /**
115
- * @category AI
116
- */
117
- export type AiEmbeddingsModelName = (typeof AI_EMBEDDINGS_MODEL_NAMES)[number];
118
- /**
119
- * @category AI
120
- */
121
- export type AiVoyageEmbeddingsModelName = (typeof VOYAGE_EMBEDDING_MODEL_NAMES)[number];
122
- /**
123
- * @category AI
124
- */
125
- export type OpenAiChatModelName = (typeof OPENAI_CHAT_MODEL_NAMES)[number];
126
- /**
127
- * @category AI
128
- */
129
- export type OpenAiReasoningChatModelName = (typeof OPENAI_REASONING_CHAT_MODEL_NAMES)[number];
130
- /**
131
- * @category AI
132
- */
133
- export type GeminiChatModelName = (typeof GEMINI_CHAT_MODEL_NAMES)[number];
134
- /**
135
- * @category AI
136
- */
137
- export type GrokChatModelName = (typeof GROK_CHAT_MODEL_NAMES)[number];
138
- /**
139
- * @category AI
140
- */
141
- export type AnthropicChatModelName = (typeof ANTHROPIC_CHAT_MODEL_NAMES)[number];
142
- /**
143
- * @category AI
144
- */
145
- export type AiImageModelName = (typeof AI_IMAGE_MODEL_NAMES)[number];
146
- /**
147
- * @category AI
148
- */
149
- export type AiAudioTranscriptionModelName = (typeof AI_AUDIO_TRANSCRIPTION_MODEL_NAMES)[number];
150
- /**
151
- * @category AI
152
- */
153
- export type AiAudioCreateSpeechModelName = (typeof OPENAI_AUDIO_CREATE_SPEECH_MODEL_NAMES)[number];
154
- /**
155
- * @category AI
156
- */
157
- export type AiAudioModelName = (typeof OPENAI_AUDIO_MODEL_NAMES)[number];
158
- /**
159
- * @category AI
160
- */
161
- export type OpenAiImageModelName = (typeof OPENAI_IMAGE_MODEL_NAMES)[number];
162
- /**
163
- * @category AI
164
- */
165
- export type OpenAiAudioTranscriptionModelName = (typeof OPENAI_AUDIO_TRANSCRIPTION_MODEL_NAMES)[number];
166
- /**
167
- * @category AI
168
- */
169
- export type OpenAiAudioCreateSpeechModelName = (typeof OPENAI_AUDIO_CREATE_SPEECH_MODEL_NAMES)[number];
170
- /**
171
- * @category AI
172
- */
173
- export type OpenAiCreateSpeechFormat = (typeof OPEN_AI_CREATE_SPEECH_FORMATS)[number];
174
- /**
175
- * @category AI
176
- */
177
- export type StableDiffusionModelName = (typeof STABLE_DIFFUSION_MODEL_NAMES)[number];
178
- /**
179
- * @category AI
180
- */
181
- export type FluxModelName = (typeof FLUX_MODEL_NAMES)[number];
182
8
  /**
183
9
  * @category AI
184
10
  */
@@ -195,22 +21,6 @@ export type AiAudioTranscribeOptions = OpenAiAudioTranscribeOptions;
195
21
  * @category AI
196
22
  */
197
23
  export type AiAudioCreateSpeechOptions = OpenAiCreateSpeechOptions;
198
- /**
199
- * @category AI
200
- */
201
- export declare const RAG_TYPES: readonly ["contextual", "basic"];
202
- /**
203
- * @category AI
204
- */
205
- export type AiRagType = (typeof RAG_TYPES)[number];
206
- /**
207
- * @category AI
208
- */
209
- export declare const RERANK_PROVIDERS: readonly ["cohere", "none"];
210
- /**
211
- * @category AI
212
- */
213
- export type AiRerankProvider = (typeof RERANK_PROVIDERS)[number];
214
24
  /**
215
25
  * Base options for generating images with an AI model.
216
26
  * @category AI
@@ -381,6 +191,16 @@ export interface AiConnectedAgentMetadata {
381
191
  /** A description of the connected agent for the parent agent context, used as AI function description. */
382
192
  description: string;
383
193
  }
194
+ /**
195
+ * Metadata for a connected AI Knowledge Base callable by the current agent.
196
+ * @category AI
197
+ */
198
+ export interface AiConnectedKnowledgeBaseMetadata {
199
+ /** The ID of the connected AI KnowledgeBase */
200
+ knowledgeBaseId: AiKnowledgeBaseId;
201
+ /** A description of when to use this AiKnowledgeBase */
202
+ description: string;
203
+ }
384
204
  /**
385
205
  * Quotas for a single AI chat prompt (`ask()` method call).
386
206
  * @category AI
@@ -472,6 +292,8 @@ export interface BaseAiChatOptions {
472
292
  connectedAgents?: Array<AiConnectedAgentMetadata>;
473
293
  /** List of connected AI agents can be called by the current agent. Overrides the stored value. */
474
294
  connectedIntegrations?: Array<AiConnectedIntegrationMetadata>;
295
+ /** List of connected AiKnowlegeBases that can be called by the current agent */
296
+ connectedKnowledgeBases?: Array<AiConnectedKnowledgeBaseMetadata>;
475
297
  /** Current budget for nested or recursive AI chat calls per single prompt. */
476
298
  quotas?: AiChatPromptQuotas;
477
299
  /** Include metadata in the context */
@@ -649,7 +471,7 @@ export interface AiAgentContext {
649
471
  /** The ID of the agent owning this context. */
650
472
  agentId: AiAgentId;
651
473
  /** The type of context (e.g., 'text' or 'file'). */
652
- type: AiContextType;
474
+ type: AiKnowledgeBaseContextType;
653
475
  /** A title describing the context content. */
654
476
  title: string;
655
477
  /** The text content of the context. */
@@ -667,7 +489,7 @@ export interface AiAgentContext {
667
489
  export type AgentContextRequest = TextContextRequest | FileContextRequest;
668
490
  interface BaseContextRequest {
669
491
  contextId: string;
670
- type: AiContextType;
492
+ type: AiKnowledgeBaseContextType;
671
493
  metadata?: AiContextMetadata;
672
494
  }
673
495
  /**
@@ -723,10 +545,6 @@ export interface AiContextTextOptions extends BaseAiContextOptions {
723
545
  */
724
546
  export interface AiContextFileOptions extends BaseAiContextOptions {
725
547
  }
726
- /**
727
- * @category AI
728
- */
729
- export type AiContextType = 'text' | 'file';
730
548
  /**
731
549
  * Request structure for adding text-based context to an AI agent.
732
550
  * @category AI
@@ -757,73 +575,6 @@ export interface FileContextRequest extends BaseContextRequest {
757
575
  /** General options for how to process the file. */
758
576
  options?: AiContextFileOptions;
759
577
  }
760
- /**
761
- * @category AI
762
- */
763
- export type AiContextMetadataValue = number | string | boolean | undefined;
764
- /**
765
- * @category AI
766
- */
767
- export type AiContextMetadataValueArray = AiContextMetadataValue[];
768
- interface AiContextMetadataEqFilter {
769
- $eq: AiContextMetadataValue;
770
- }
771
- interface AiContextMetadataNeFilter {
772
- $ne: AiContextMetadataValue;
773
- }
774
- interface AiContextMetadataGtFilter {
775
- $gt: number;
776
- }
777
- interface AiContextMetadataGteFilter {
778
- $gte: number;
779
- }
780
- interface AiContextMetadataLtFilter {
781
- $lt: number;
782
- }
783
- interface AiContextMetadataLteFilter {
784
- $lte: number;
785
- }
786
- interface AiContextMetadataInFilter {
787
- $in: AiContextMetadataValueArray;
788
- }
789
- interface AiContextMetadataNinFilter {
790
- $nin: AiContextMetadataValueArray;
791
- }
792
- interface AiContextMetadataExistsFilter {
793
- $exists: boolean;
794
- }
795
- /**
796
- * @category AI
797
- */
798
- export type AiContextMetadataSimpleFilter = AiContextMetadataEqFilter | AiContextMetadataNeFilter | AiContextMetadataGtFilter | AiContextMetadataGteFilter | AiContextMetadataLtFilter | AiContextMetadataLteFilter | AiContextMetadataInFilter | AiContextMetadataNinFilter | AiContextMetadataExistsFilter;
799
- /**
800
- * A filter for AI context metadata based on field-specific conditions or values.
801
- * @category AI
802
- */
803
- export interface AiContextMetadataFieldFilter {
804
- /** A record where keys are field names and values are either simple filters or direct metadata values. */
805
- [field: string]: AiContextMetadataSimpleFilter | AiContextMetadataValue;
806
- }
807
- /**
808
- * A filter combining multiple AI context metadata filters with a logical AND operation.
809
- * @category AI
810
- */
811
- export interface AiContextMetadataAndFilter {
812
- /** An array of filters that must all be true for the condition to pass. */
813
- $and: AiContextMetadataFilter[];
814
- }
815
- /**
816
- * A filter combining multiple AI context metadata filters with a logical OR operation.
817
- * @category AI
818
- */
819
- export interface AiContextMetadataOrFilter {
820
- /** An array of filters where at least one must be true for the condition to pass. */
821
- $or: AiContextMetadataFilter[];
822
- }
823
- /**
824
- * @category AI
825
- */
826
- export type AiContextMetadataFilter = AiContextMetadataFieldFilter | AiContextMetadataAndFilter | AiContextMetadataOrFilter;
827
578
  /**
828
579
  * Base options for how to deal with the content being upserted.
829
580
  * @category AI
@@ -834,11 +585,6 @@ export type BaseAiContextOptions = {
834
585
  /** Amount of chunk overlap, in characters. */
835
586
  chunkOverlap?: number;
836
587
  };
837
- /**
838
- * A record of metadata key-value pairs for AI context, where values are primitive types or undefined.
839
- * @category AI
840
- */
841
- export type AiContextMetadata = Record<string, AiContextMetadataValue>;
842
588
  /**
843
589
  * @category AI
844
590
  */
@@ -1,4 +1,5 @@
1
- import { AiAgentResponseFormat, AiReasoningEffort, OpenAiChatModelName } from './ai-agent.public-types';
1
+ import { AiAgentResponseFormat, AiReasoningEffort } from './ai-agent.public-types';
2
+ import { OpenAiChatModelName } from './ai-common.public-types';
2
3
  import { AiFunctionId } from './backend.public-types';
3
4
  /**
4
5
  * The type of assistant tool.
@@ -0,0 +1,185 @@
1
+ import { UserAiChatModelName } from './backend.public-types';
2
+ /**
3
+ * @category AI
4
+ */
5
+ export declare const RERANK_PROVIDERS: readonly ["cohere", "none"];
6
+ /**
7
+ * @category AI
8
+ */
9
+ export type AiRerankProvider = (typeof RERANK_PROVIDERS)[number];
10
+ /** List of available AI provider types. See AiProviderType. */
11
+ export declare const AI_PROVIDER_TYPES: readonly ["anthropic", "flux", "gemini", "openai", "grok", "stability", "voyage", "external"];
12
+ /**
13
+ * Type of the AI provider.
14
+ * References a single AI service, regardless of the model or other AI function it provides (like
15
+ * chat/search/transcribe etc...).
16
+ */
17
+ export type AiProviderType = (typeof AI_PROVIDER_TYPES)[number];
18
+ /**
19
+ * The supported OpenAI models.
20
+ * @category AI
21
+ */
22
+ export declare const OPENAI_O1_CHAT_MODEL_NAMES: readonly ["o1"];
23
+ /**
24
+ * @category AI
25
+ */
26
+ export declare const OPENAI_REASONING_CHAT_MODEL_NAMES: readonly ["o1", "o3", "o3-mini", "o4-mini"];
27
+ /**
28
+ * @category AI
29
+ */
30
+ export declare const OPENAI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini", "gpt-4.1-nano", "gpt-4.1-mini", "gpt-4.1", "o1", "o3", "o3-mini", "o4-mini"];
31
+ /**
32
+ * @category AI
33
+ */
34
+ export declare const GEMINI_CHAT_MODEL_NAMES: readonly ["gemini-2.5-pro", "gemini-2.5-flash", "gemini-2.5-flash-lite"];
35
+ /**
36
+ * Notes:
37
+ * - 'grok-3-mini' model os ~10x less expensive than 'grok-3'.
38
+ * - '*-fast' models are ~2x more expensive than non-fast variants and only marginally faster.
39
+ * - 'grok-4' cost is comparable to 'grok-3-fast'.
40
+ *
41
+ * @category AI
42
+ */
43
+ export declare const GROK_CHAT_MODEL_NAMES: readonly ["grok-3", "grok-3-fast", "grok-3-mini", "grok-3-mini-fast", "grok-4"];
44
+ /**
45
+ * @category AI
46
+ */
47
+ export declare const ANTHROPIC_CHAT_MODEL_NAMES: readonly ["claude-3-7-sonnet-latest", "claude-opus-4-20250514", "claude-sonnet-4-20250514"];
48
+ /**
49
+ * The supported AI model names.
50
+ * @category AI
51
+ */
52
+ export declare const VENDOR_AI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini", "gpt-4.1-nano", "gpt-4.1-mini", "gpt-4.1", "o1", "o3", "o3-mini", "o4-mini", "claude-3-7-sonnet-latest", "claude-opus-4-20250514", "claude-sonnet-4-20250514", "gemini-2.5-pro", "gemini-2.5-flash", "gemini-2.5-flash-lite", "grok-3", "grok-3-fast", "grok-3-mini", "grok-3-mini-fast", "grok-4"];
53
+ /**
54
+ * Check if the given model name is a global AI chat model name.
55
+ */
56
+ export declare function isVendorAiChatModelName(modelName: string): modelName is (typeof VENDOR_AI_CHAT_MODEL_NAMES)[number];
57
+ /**
58
+ * @category AI
59
+ */
60
+ export declare const OPENAI_EMBEDDINGS_MODEL_NAMES: readonly ["text-embedding-3-small"];
61
+ /**
62
+ * @category AI
63
+ */
64
+ export declare const VOYAGE_EMBEDDING_MODEL_NAMES: readonly ["voyage-3-large"];
65
+ /**
66
+ * @category AI
67
+ */
68
+ export declare const AI_EMBEDDINGS_MODEL_NAMES: readonly ["text-embedding-3-small", "voyage-3-large"];
69
+ /**
70
+ * The supported AI image generation model names.
71
+ * @category AI
72
+ */
73
+ export declare const OPENAI_IMAGE_MODEL_NAMES: readonly ["dall-e-3"];
74
+ /**
75
+ * @category AI
76
+ */
77
+ export declare const OPENAI_AUDIO_TRANSCRIPTION_MODEL_NAMES: readonly ["whisper-1", "gpt-4o-transcribe", "gpt-4o-mini-transcribe"];
78
+ /**
79
+ * @category AI
80
+ */
81
+ export declare const OPENAI_AUDIO_CREATE_SPEECH_MODEL_NAMES: readonly ["tts-1", "tts-1-hd", "gpt-4o-mini-tts"];
82
+ /**
83
+ * @category AI
84
+ */
85
+ export declare const OPENAI_AUDIO_MODEL_NAMES: readonly ["whisper-1", "gpt-4o-transcribe", "gpt-4o-mini-transcribe", "tts-1", "tts-1-hd", "gpt-4o-mini-tts"];
86
+ /**
87
+ * @category AI
88
+ */
89
+ export declare const STABLE_DIFFUSION_MODEL_NAMES: readonly ["stable-diffusion-core"];
90
+ /**
91
+ * @category AI
92
+ */
93
+ export declare const FLUX_MODEL_NAMES: readonly ["flux-pro-1.1"];
94
+ /**
95
+ * @category AI
96
+ */
97
+ export declare const AI_IMAGE_MODEL_NAMES: readonly ["dall-e-3", "stable-diffusion-core", "flux-pro-1.1"];
98
+ /**
99
+ * @category AI
100
+ */
101
+ export declare const AI_AUDIO_TRANSCRIPTION_MODEL_NAMES: readonly ["whisper-1", "gpt-4o-transcribe", "gpt-4o-mini-transcribe"];
102
+ /**
103
+ * @category AI
104
+ */
105
+ export declare const AI_AUDIO_CREATE_SPEECH_MODEL_NAMES: readonly ["tts-1", "tts-1-hd", "gpt-4o-mini-tts"];
106
+ /**
107
+ * @category AI
108
+ */
109
+ export declare const OPEN_AI_CREATE_SPEECH_FORMATS: readonly ["mp3", "opus", "aac", "flac", "wav", "pcm"];
110
+ /**
111
+ * @category AI
112
+ */
113
+ export type VendorAiChatModelName = (typeof VENDOR_AI_CHAT_MODEL_NAMES)[number];
114
+ /**
115
+ * @category AI
116
+ */
117
+ export type AiChatModelName = VendorAiChatModelName | UserAiChatModelName;
118
+ /**
119
+ * @category AI
120
+ */
121
+ export type AiEmbeddingsModelName = (typeof AI_EMBEDDINGS_MODEL_NAMES)[number];
122
+ /**
123
+ * @category AI
124
+ */
125
+ export type AiVoyageEmbeddingsModelName = (typeof VOYAGE_EMBEDDING_MODEL_NAMES)[number];
126
+ /**
127
+ * @category AI
128
+ */
129
+ export type OpenAiChatModelName = (typeof OPENAI_CHAT_MODEL_NAMES)[number];
130
+ /**
131
+ * @category AI
132
+ */
133
+ export type OpenAiReasoningChatModelName = (typeof OPENAI_REASONING_CHAT_MODEL_NAMES)[number];
134
+ /**
135
+ * @category AI
136
+ */
137
+ export type GeminiChatModelName = (typeof GEMINI_CHAT_MODEL_NAMES)[number];
138
+ /**
139
+ * @category AI
140
+ */
141
+ export type GrokChatModelName = (typeof GROK_CHAT_MODEL_NAMES)[number];
142
+ /**
143
+ * @category AI
144
+ */
145
+ export type AnthropicChatModelName = (typeof ANTHROPIC_CHAT_MODEL_NAMES)[number];
146
+ /**
147
+ * @category AI
148
+ */
149
+ export type AiImageModelName = (typeof AI_IMAGE_MODEL_NAMES)[number];
150
+ /**
151
+ * @category AI
152
+ */
153
+ export type AiAudioTranscriptionModelName = (typeof AI_AUDIO_TRANSCRIPTION_MODEL_NAMES)[number];
154
+ /**
155
+ * @category AI
156
+ */
157
+ export type AiAudioCreateSpeechModelName = (typeof OPENAI_AUDIO_CREATE_SPEECH_MODEL_NAMES)[number];
158
+ /**
159
+ * @category AI
160
+ */
161
+ export type AiAudioModelName = (typeof OPENAI_AUDIO_MODEL_NAMES)[number];
162
+ /**
163
+ * @category AI
164
+ */
165
+ export type OpenAiImageModelName = (typeof OPENAI_IMAGE_MODEL_NAMES)[number];
166
+ /**
167
+ * @category AI
168
+ */
169
+ export type OpenAiAudioTranscriptionModelName = (typeof OPENAI_AUDIO_TRANSCRIPTION_MODEL_NAMES)[number];
170
+ /**
171
+ * @category AI
172
+ */
173
+ export type OpenAiAudioCreateSpeechModelName = (typeof OPENAI_AUDIO_CREATE_SPEECH_MODEL_NAMES)[number];
174
+ /**
175
+ * @category AI
176
+ */
177
+ export type OpenAiCreateSpeechFormat = (typeof OPEN_AI_CREATE_SPEECH_FORMATS)[number];
178
+ /**
179
+ * @category AI
180
+ */
181
+ export type StableDiffusionModelName = (typeof STABLE_DIFFUSION_MODEL_NAMES)[number];
182
+ /**
183
+ * @category AI
184
+ */
185
+ export type FluxModelName = (typeof FLUX_MODEL_NAMES)[number];