@adaline/azure 0.7.0 → 0.8.0

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.
package/dist/index.d.mts CHANGED
@@ -1,22 +1,9 @@
1
- import { ProviderV1, ChatModelSchemaType, ChatModelV1, EmbeddingModelSchemaType, EmbeddingModelV1, HeadersType } from '@adaline/provider';
1
+ import { ChatModelSchemaType, HeadersType, EmbeddingModelSchemaType, ProviderV1, ChatModelV1, EmbeddingModelV1 } from '@adaline/provider';
2
+ import * as zod from 'zod';
2
3
  import { z } from 'zod';
3
4
  import { BaseChatModel, BaseEmbeddingModel } from '@adaline/openai';
4
5
 
5
- declare class Azure<O extends Record<string, any> = Record<string, any>> implements ProviderV1<O> {
6
- readonly version: "v1";
7
- readonly name = "azure";
8
- static readonly azureUrl: (resourceName: string, provider: string) => string;
9
- private readonly chatModelFactories;
10
- private readonly embeddingModelFactories;
11
- chatModelLiterals(): string[];
12
- chatModelSchemas(): Record<string, ChatModelSchemaType>;
13
- chatModel(options: O): ChatModelV1;
14
- embeddingModelLiterals(): string[];
15
- embeddingModelSchemas(): Record<string, EmbeddingModelSchemaType>;
16
- embeddingModel(options: O): EmbeddingModelV1;
17
- }
18
-
19
- declare const AzureChatModelOptions: z.ZodObject<{
6
+ declare const BaseChatModelOptions: z.ZodObject<{
20
7
  apiKey: z.ZodString;
21
8
  deploymentId: z.ZodString;
22
9
  resourceName: z.ZodOptional<z.ZodString>;
@@ -32,7 +19,54 @@ declare const AzureChatModelOptions: z.ZodObject<{
32
19
  resourceName?: string | undefined;
33
20
  baseUrl?: string | undefined;
34
21
  }>;
35
- type AzureChatModelOptionsType = z.infer<typeof AzureChatModelOptions>;
22
+ type BaseChatModelOptionsType = z.infer<typeof BaseChatModelOptions>;
23
+
24
+ declare const BaseChatModelSchema: {
25
+ name: string;
26
+ description: string;
27
+ roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
28
+ modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
29
+ maxInputTokens: number;
30
+ maxOutputTokens: number;
31
+ config: {
32
+ def: Record<string, {
33
+ type: "multi-string";
34
+ param: string;
35
+ title: string;
36
+ description: string;
37
+ max: number;
38
+ } | {
39
+ type: "object-schema";
40
+ param: string;
41
+ title: string;
42
+ description: string;
43
+ objectSchema?: any;
44
+ } | {
45
+ type: "range";
46
+ param: string;
47
+ title: string;
48
+ description: string;
49
+ max: number;
50
+ default: number;
51
+ min: number;
52
+ step: number;
53
+ } | {
54
+ type: "select-boolean";
55
+ param: string;
56
+ title: string;
57
+ description: string;
58
+ default: boolean | null;
59
+ } | {
60
+ type: "select-string";
61
+ param: string;
62
+ title: string;
63
+ description: string;
64
+ default: string | null;
65
+ choices: string[];
66
+ }>;
67
+ schema: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, unknown, unknown>;
68
+ };
69
+ };
36
70
 
37
71
  declare class BaseChatModelOpenAI extends BaseChatModel {
38
72
  readonly version: "v1";
@@ -40,7 +74,7 @@ declare class BaseChatModelOpenAI extends BaseChatModel {
40
74
  readonly deploymentId: string;
41
75
  private readonly azureApiKey;
42
76
  private readonly azureApiVersion;
43
- constructor(modelSchema: ChatModelSchemaType, options: AzureChatModelOptionsType);
77
+ constructor(modelSchema: ChatModelSchemaType, options: BaseChatModelOptionsType);
44
78
  getDefaultHeaders(): HeadersType;
45
79
  }
46
80
 
@@ -860,7 +894,7 @@ declare class GPT_3_5_Turbo_0125 extends BaseChatModelOpenAI {
860
894
  constructor(options: GPT_3_5_Turbo_0125OptionsType);
861
895
  }
862
896
 
863
- declare const AzureEmbeddingModelOptions: z.ZodObject<{
897
+ declare const BaseEmbeddingModelOptions: z.ZodObject<{
864
898
  apiKey: z.ZodString;
865
899
  deploymentId: z.ZodString;
866
900
  resourceName: z.ZodOptional<z.ZodString>;
@@ -876,7 +910,53 @@ declare const AzureEmbeddingModelOptions: z.ZodObject<{
876
910
  resourceName?: string | undefined;
877
911
  baseUrl?: string | undefined;
878
912
  }>;
879
- type AzureEmbeddingModelOptionsType = z.infer<typeof AzureEmbeddingModelOptions>;
913
+ type BaseEmbeddingModelOptionsType = z.infer<typeof BaseEmbeddingModelOptions>;
914
+
915
+ declare const BaseEmbeddingModelSchema: {
916
+ description: string;
917
+ name: string;
918
+ modalities: ["text" | "token", ...("text" | "token")[]];
919
+ maxInputTokens: number;
920
+ maxOutputTokens: number;
921
+ config: {
922
+ def: Record<string, {
923
+ type: "multi-string";
924
+ param: string;
925
+ title: string;
926
+ description: string;
927
+ max: number;
928
+ } | {
929
+ type: "object-schema";
930
+ param: string;
931
+ title: string;
932
+ description: string;
933
+ objectSchema?: any;
934
+ } | {
935
+ type: "range";
936
+ param: string;
937
+ title: string;
938
+ description: string;
939
+ max: number;
940
+ default: number;
941
+ min: number;
942
+ step: number;
943
+ } | {
944
+ type: "select-boolean";
945
+ param: string;
946
+ title: string;
947
+ description: string;
948
+ default: boolean | null;
949
+ } | {
950
+ type: "select-string";
951
+ param: string;
952
+ title: string;
953
+ description: string;
954
+ default: string | null;
955
+ choices: string[];
956
+ }>;
957
+ schema: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, unknown, unknown>;
958
+ };
959
+ };
880
960
 
881
961
  declare class BaseEmbeddingModelOpenAI extends BaseEmbeddingModel {
882
962
  readonly version: "v1";
@@ -884,7 +964,7 @@ declare class BaseEmbeddingModelOpenAI extends BaseEmbeddingModel {
884
964
  readonly deploymentId: string;
885
965
  private readonly azureApiKey;
886
966
  private readonly azureApiVersion;
887
- constructor(modelSchema: EmbeddingModelSchemaType, options: AzureEmbeddingModelOptionsType);
967
+ constructor(modelSchema: EmbeddingModelSchemaType, options: BaseEmbeddingModelOptionsType);
888
968
  getDefaultHeaders(): HeadersType;
889
969
  }
890
970
 
@@ -1089,4 +1169,16 @@ declare class Text_Embedding_3_Small extends BaseEmbeddingModelOpenAI {
1089
1169
  constructor(options: Text_Embedding_3_SmallOptionsType);
1090
1170
  }
1091
1171
 
1092
- export { Azure, AzureChatModelOptions, type AzureChatModelOptionsType, AzureEmbeddingModelOptions, type AzureEmbeddingModelOptionsType, BaseChatModelOpenAI, BaseEmbeddingModelOpenAI, GPT_3_5_Turbo, GPT_3_5_TurboLiteral, GPT_3_5_TurboOptions, type GPT_3_5_TurboOptionsType, GPT_3_5_TurboSchema, GPT_3_5_Turbo_0125, GPT_3_5_Turbo_0125Literal, GPT_3_5_Turbo_0125Options, type GPT_3_5_Turbo_0125OptionsType, GPT_3_5_Turbo_0125Schema, GPT_3_5_Turbo_1106, GPT_3_5_Turbo_1106Literal, GPT_3_5_Turbo_1106Options, type GPT_3_5_Turbo_1106OptionsType, GPT_3_5_Turbo_1106Schema, GPT_4, GPT_4Literal, GPT_4Options, type GPT_4OptionsType, GPT_4Schema, GPT_4_0613, GPT_4_0613Literal, GPT_4_0613Options, type GPT_4_0613OptionsType, GPT_4_0613Schema, GPT_4_1106_Preview, GPT_4_1106_PreviewLiteral, GPT_4_1106_PreviewOptions, type GPT_4_1106_PreviewOptionsType, GPT_4_1106_PreviewSchema, GPT_4_Turbo_2024_04_09, GPT_4_Turbo_2024_04_09Literal, GPT_4_Turbo_2024_04_09Options, type GPT_4_Turbo_2024_04_09OptionsType, GPT_4_Turbo_2024_04_09Schema, GPT_4o, GPT_4oLiteral, GPT_4oOptions, type GPT_4oOptionsType, GPT_4oSchema, GPT_4o_2024_05_13, GPT_4o_2024_05_13Literal, GPT_4o_2024_05_13Options, type GPT_4o_2024_05_13OptionsType, GPT_4o_2024_05_13Schema, GPT_4o_2024_08_06, GPT_4o_2024_08_06Literal, GPT_4o_2024_08_06Options, type GPT_4o_2024_08_06OptionsType, GPT_4o_2024_08_06Schema, GPT_4o_Mini, GPT_4o_MiniLiteral, GPT_4o_MiniOptions, type GPT_4o_MiniOptionsType, GPT_4o_MiniSchema, GPT_4o_Mini_2024_07_18, GPT_4o_Mini_2024_07_18Literal, GPT_4o_Mini_2024_07_18Options, type GPT_4o_Mini_2024_07_18OptionsType, GPT_4o_Mini_2024_07_18Schema, Text_Embedding_3_Large, Text_Embedding_3_LargeLiteral, Text_Embedding_3_LargeOptions, type Text_Embedding_3_LargeOptionsType, Text_Embedding_3_LargeSchema, Text_Embedding_3_Small, Text_Embedding_3_SmallLiteral, Text_Embedding_3_SmallOptions, type Text_Embedding_3_SmallOptionsType, Text_Embedding_3_SmallSchema, Text_Embedding_Ada_002, Text_Embedding_Ada_002Literal, Text_Embedding_Ada_002Options, type Text_Embedding_Ada_002OptionsType, Text_Embedding_Ada_002Schema };
1172
+ declare class Azure<C extends BaseChatModelOptionsType, E extends BaseEmbeddingModelOptionsType> implements ProviderV1<C, E> {
1173
+ readonly version: "v1";
1174
+ readonly name = "azure";
1175
+ static readonly azureUrl: (resourceName: string, provider: string) => string;
1176
+ chatModelLiterals(): string[];
1177
+ chatModelSchemas(): Record<string, ChatModelSchemaType>;
1178
+ chatModel(options: C): ChatModelV1;
1179
+ embeddingModelLiterals(): string[];
1180
+ embeddingModelSchemas(): Record<string, EmbeddingModelSchemaType>;
1181
+ embeddingModel(options: E): EmbeddingModelV1;
1182
+ }
1183
+
1184
+ export { Azure, BaseChatModelOpenAI, BaseChatModelOptions, type BaseChatModelOptionsType, BaseChatModelSchema, BaseEmbeddingModelOpenAI, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, BaseEmbeddingModelSchema, GPT_3_5_Turbo, GPT_3_5_TurboLiteral, GPT_3_5_TurboOptions, type GPT_3_5_TurboOptionsType, GPT_3_5_TurboSchema, GPT_3_5_Turbo_0125, GPT_3_5_Turbo_0125Literal, GPT_3_5_Turbo_0125Options, type GPT_3_5_Turbo_0125OptionsType, GPT_3_5_Turbo_0125Schema, GPT_3_5_Turbo_1106, GPT_3_5_Turbo_1106Literal, GPT_3_5_Turbo_1106Options, type GPT_3_5_Turbo_1106OptionsType, GPT_3_5_Turbo_1106Schema, GPT_4, GPT_4Literal, GPT_4Options, type GPT_4OptionsType, GPT_4Schema, GPT_4_0613, GPT_4_0613Literal, GPT_4_0613Options, type GPT_4_0613OptionsType, GPT_4_0613Schema, GPT_4_1106_Preview, GPT_4_1106_PreviewLiteral, GPT_4_1106_PreviewOptions, type GPT_4_1106_PreviewOptionsType, GPT_4_1106_PreviewSchema, GPT_4_Turbo_2024_04_09, GPT_4_Turbo_2024_04_09Literal, GPT_4_Turbo_2024_04_09Options, type GPT_4_Turbo_2024_04_09OptionsType, GPT_4_Turbo_2024_04_09Schema, GPT_4o, GPT_4oLiteral, GPT_4oOptions, type GPT_4oOptionsType, GPT_4oSchema, GPT_4o_2024_05_13, GPT_4o_2024_05_13Literal, GPT_4o_2024_05_13Options, type GPT_4o_2024_05_13OptionsType, GPT_4o_2024_05_13Schema, GPT_4o_2024_08_06, GPT_4o_2024_08_06Literal, GPT_4o_2024_08_06Options, type GPT_4o_2024_08_06OptionsType, GPT_4o_2024_08_06Schema, GPT_4o_Mini, GPT_4o_MiniLiteral, GPT_4o_MiniOptions, type GPT_4o_MiniOptionsType, GPT_4o_MiniSchema, GPT_4o_Mini_2024_07_18, GPT_4o_Mini_2024_07_18Literal, GPT_4o_Mini_2024_07_18Options, type GPT_4o_Mini_2024_07_18OptionsType, GPT_4o_Mini_2024_07_18Schema, Text_Embedding_3_Large, Text_Embedding_3_LargeLiteral, Text_Embedding_3_LargeOptions, type Text_Embedding_3_LargeOptionsType, Text_Embedding_3_LargeSchema, Text_Embedding_3_Small, Text_Embedding_3_SmallLiteral, Text_Embedding_3_SmallOptions, type Text_Embedding_3_SmallOptionsType, Text_Embedding_3_SmallSchema, Text_Embedding_Ada_002, Text_Embedding_Ada_002Literal, Text_Embedding_Ada_002Options, type Text_Embedding_Ada_002OptionsType, Text_Embedding_Ada_002Schema };
package/dist/index.d.ts CHANGED
@@ -1,22 +1,9 @@
1
- import { ProviderV1, ChatModelSchemaType, ChatModelV1, EmbeddingModelSchemaType, EmbeddingModelV1, HeadersType } from '@adaline/provider';
1
+ import { ChatModelSchemaType, HeadersType, EmbeddingModelSchemaType, ProviderV1, ChatModelV1, EmbeddingModelV1 } from '@adaline/provider';
2
+ import * as zod from 'zod';
2
3
  import { z } from 'zod';
3
4
  import { BaseChatModel, BaseEmbeddingModel } from '@adaline/openai';
4
5
 
5
- declare class Azure<O extends Record<string, any> = Record<string, any>> implements ProviderV1<O> {
6
- readonly version: "v1";
7
- readonly name = "azure";
8
- static readonly azureUrl: (resourceName: string, provider: string) => string;
9
- private readonly chatModelFactories;
10
- private readonly embeddingModelFactories;
11
- chatModelLiterals(): string[];
12
- chatModelSchemas(): Record<string, ChatModelSchemaType>;
13
- chatModel(options: O): ChatModelV1;
14
- embeddingModelLiterals(): string[];
15
- embeddingModelSchemas(): Record<string, EmbeddingModelSchemaType>;
16
- embeddingModel(options: O): EmbeddingModelV1;
17
- }
18
-
19
- declare const AzureChatModelOptions: z.ZodObject<{
6
+ declare const BaseChatModelOptions: z.ZodObject<{
20
7
  apiKey: z.ZodString;
21
8
  deploymentId: z.ZodString;
22
9
  resourceName: z.ZodOptional<z.ZodString>;
@@ -32,7 +19,54 @@ declare const AzureChatModelOptions: z.ZodObject<{
32
19
  resourceName?: string | undefined;
33
20
  baseUrl?: string | undefined;
34
21
  }>;
35
- type AzureChatModelOptionsType = z.infer<typeof AzureChatModelOptions>;
22
+ type BaseChatModelOptionsType = z.infer<typeof BaseChatModelOptions>;
23
+
24
+ declare const BaseChatModelSchema: {
25
+ name: string;
26
+ description: string;
27
+ roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
28
+ modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
29
+ maxInputTokens: number;
30
+ maxOutputTokens: number;
31
+ config: {
32
+ def: Record<string, {
33
+ type: "multi-string";
34
+ param: string;
35
+ title: string;
36
+ description: string;
37
+ max: number;
38
+ } | {
39
+ type: "object-schema";
40
+ param: string;
41
+ title: string;
42
+ description: string;
43
+ objectSchema?: any;
44
+ } | {
45
+ type: "range";
46
+ param: string;
47
+ title: string;
48
+ description: string;
49
+ max: number;
50
+ default: number;
51
+ min: number;
52
+ step: number;
53
+ } | {
54
+ type: "select-boolean";
55
+ param: string;
56
+ title: string;
57
+ description: string;
58
+ default: boolean | null;
59
+ } | {
60
+ type: "select-string";
61
+ param: string;
62
+ title: string;
63
+ description: string;
64
+ default: string | null;
65
+ choices: string[];
66
+ }>;
67
+ schema: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, unknown, unknown>;
68
+ };
69
+ };
36
70
 
37
71
  declare class BaseChatModelOpenAI extends BaseChatModel {
38
72
  readonly version: "v1";
@@ -40,7 +74,7 @@ declare class BaseChatModelOpenAI extends BaseChatModel {
40
74
  readonly deploymentId: string;
41
75
  private readonly azureApiKey;
42
76
  private readonly azureApiVersion;
43
- constructor(modelSchema: ChatModelSchemaType, options: AzureChatModelOptionsType);
77
+ constructor(modelSchema: ChatModelSchemaType, options: BaseChatModelOptionsType);
44
78
  getDefaultHeaders(): HeadersType;
45
79
  }
46
80
 
@@ -860,7 +894,7 @@ declare class GPT_3_5_Turbo_0125 extends BaseChatModelOpenAI {
860
894
  constructor(options: GPT_3_5_Turbo_0125OptionsType);
861
895
  }
862
896
 
863
- declare const AzureEmbeddingModelOptions: z.ZodObject<{
897
+ declare const BaseEmbeddingModelOptions: z.ZodObject<{
864
898
  apiKey: z.ZodString;
865
899
  deploymentId: z.ZodString;
866
900
  resourceName: z.ZodOptional<z.ZodString>;
@@ -876,7 +910,53 @@ declare const AzureEmbeddingModelOptions: z.ZodObject<{
876
910
  resourceName?: string | undefined;
877
911
  baseUrl?: string | undefined;
878
912
  }>;
879
- type AzureEmbeddingModelOptionsType = z.infer<typeof AzureEmbeddingModelOptions>;
913
+ type BaseEmbeddingModelOptionsType = z.infer<typeof BaseEmbeddingModelOptions>;
914
+
915
+ declare const BaseEmbeddingModelSchema: {
916
+ description: string;
917
+ name: string;
918
+ modalities: ["text" | "token", ...("text" | "token")[]];
919
+ maxInputTokens: number;
920
+ maxOutputTokens: number;
921
+ config: {
922
+ def: Record<string, {
923
+ type: "multi-string";
924
+ param: string;
925
+ title: string;
926
+ description: string;
927
+ max: number;
928
+ } | {
929
+ type: "object-schema";
930
+ param: string;
931
+ title: string;
932
+ description: string;
933
+ objectSchema?: any;
934
+ } | {
935
+ type: "range";
936
+ param: string;
937
+ title: string;
938
+ description: string;
939
+ max: number;
940
+ default: number;
941
+ min: number;
942
+ step: number;
943
+ } | {
944
+ type: "select-boolean";
945
+ param: string;
946
+ title: string;
947
+ description: string;
948
+ default: boolean | null;
949
+ } | {
950
+ type: "select-string";
951
+ param: string;
952
+ title: string;
953
+ description: string;
954
+ default: string | null;
955
+ choices: string[];
956
+ }>;
957
+ schema: zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, unknown, unknown>;
958
+ };
959
+ };
880
960
 
881
961
  declare class BaseEmbeddingModelOpenAI extends BaseEmbeddingModel {
882
962
  readonly version: "v1";
@@ -884,7 +964,7 @@ declare class BaseEmbeddingModelOpenAI extends BaseEmbeddingModel {
884
964
  readonly deploymentId: string;
885
965
  private readonly azureApiKey;
886
966
  private readonly azureApiVersion;
887
- constructor(modelSchema: EmbeddingModelSchemaType, options: AzureEmbeddingModelOptionsType);
967
+ constructor(modelSchema: EmbeddingModelSchemaType, options: BaseEmbeddingModelOptionsType);
888
968
  getDefaultHeaders(): HeadersType;
889
969
  }
890
970
 
@@ -1089,4 +1169,16 @@ declare class Text_Embedding_3_Small extends BaseEmbeddingModelOpenAI {
1089
1169
  constructor(options: Text_Embedding_3_SmallOptionsType);
1090
1170
  }
1091
1171
 
1092
- export { Azure, AzureChatModelOptions, type AzureChatModelOptionsType, AzureEmbeddingModelOptions, type AzureEmbeddingModelOptionsType, BaseChatModelOpenAI, BaseEmbeddingModelOpenAI, GPT_3_5_Turbo, GPT_3_5_TurboLiteral, GPT_3_5_TurboOptions, type GPT_3_5_TurboOptionsType, GPT_3_5_TurboSchema, GPT_3_5_Turbo_0125, GPT_3_5_Turbo_0125Literal, GPT_3_5_Turbo_0125Options, type GPT_3_5_Turbo_0125OptionsType, GPT_3_5_Turbo_0125Schema, GPT_3_5_Turbo_1106, GPT_3_5_Turbo_1106Literal, GPT_3_5_Turbo_1106Options, type GPT_3_5_Turbo_1106OptionsType, GPT_3_5_Turbo_1106Schema, GPT_4, GPT_4Literal, GPT_4Options, type GPT_4OptionsType, GPT_4Schema, GPT_4_0613, GPT_4_0613Literal, GPT_4_0613Options, type GPT_4_0613OptionsType, GPT_4_0613Schema, GPT_4_1106_Preview, GPT_4_1106_PreviewLiteral, GPT_4_1106_PreviewOptions, type GPT_4_1106_PreviewOptionsType, GPT_4_1106_PreviewSchema, GPT_4_Turbo_2024_04_09, GPT_4_Turbo_2024_04_09Literal, GPT_4_Turbo_2024_04_09Options, type GPT_4_Turbo_2024_04_09OptionsType, GPT_4_Turbo_2024_04_09Schema, GPT_4o, GPT_4oLiteral, GPT_4oOptions, type GPT_4oOptionsType, GPT_4oSchema, GPT_4o_2024_05_13, GPT_4o_2024_05_13Literal, GPT_4o_2024_05_13Options, type GPT_4o_2024_05_13OptionsType, GPT_4o_2024_05_13Schema, GPT_4o_2024_08_06, GPT_4o_2024_08_06Literal, GPT_4o_2024_08_06Options, type GPT_4o_2024_08_06OptionsType, GPT_4o_2024_08_06Schema, GPT_4o_Mini, GPT_4o_MiniLiteral, GPT_4o_MiniOptions, type GPT_4o_MiniOptionsType, GPT_4o_MiniSchema, GPT_4o_Mini_2024_07_18, GPT_4o_Mini_2024_07_18Literal, GPT_4o_Mini_2024_07_18Options, type GPT_4o_Mini_2024_07_18OptionsType, GPT_4o_Mini_2024_07_18Schema, Text_Embedding_3_Large, Text_Embedding_3_LargeLiteral, Text_Embedding_3_LargeOptions, type Text_Embedding_3_LargeOptionsType, Text_Embedding_3_LargeSchema, Text_Embedding_3_Small, Text_Embedding_3_SmallLiteral, Text_Embedding_3_SmallOptions, type Text_Embedding_3_SmallOptionsType, Text_Embedding_3_SmallSchema, Text_Embedding_Ada_002, Text_Embedding_Ada_002Literal, Text_Embedding_Ada_002Options, type Text_Embedding_Ada_002OptionsType, Text_Embedding_Ada_002Schema };
1172
+ declare class Azure<C extends BaseChatModelOptionsType, E extends BaseEmbeddingModelOptionsType> implements ProviderV1<C, E> {
1173
+ readonly version: "v1";
1174
+ readonly name = "azure";
1175
+ static readonly azureUrl: (resourceName: string, provider: string) => string;
1176
+ chatModelLiterals(): string[];
1177
+ chatModelSchemas(): Record<string, ChatModelSchemaType>;
1178
+ chatModel(options: C): ChatModelV1;
1179
+ embeddingModelLiterals(): string[];
1180
+ embeddingModelSchemas(): Record<string, EmbeddingModelSchemaType>;
1181
+ embeddingModel(options: E): EmbeddingModelV1;
1182
+ }
1183
+
1184
+ export { Azure, BaseChatModelOpenAI, BaseChatModelOptions, type BaseChatModelOptionsType, BaseChatModelSchema, BaseEmbeddingModelOpenAI, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, BaseEmbeddingModelSchema, GPT_3_5_Turbo, GPT_3_5_TurboLiteral, GPT_3_5_TurboOptions, type GPT_3_5_TurboOptionsType, GPT_3_5_TurboSchema, GPT_3_5_Turbo_0125, GPT_3_5_Turbo_0125Literal, GPT_3_5_Turbo_0125Options, type GPT_3_5_Turbo_0125OptionsType, GPT_3_5_Turbo_0125Schema, GPT_3_5_Turbo_1106, GPT_3_5_Turbo_1106Literal, GPT_3_5_Turbo_1106Options, type GPT_3_5_Turbo_1106OptionsType, GPT_3_5_Turbo_1106Schema, GPT_4, GPT_4Literal, GPT_4Options, type GPT_4OptionsType, GPT_4Schema, GPT_4_0613, GPT_4_0613Literal, GPT_4_0613Options, type GPT_4_0613OptionsType, GPT_4_0613Schema, GPT_4_1106_Preview, GPT_4_1106_PreviewLiteral, GPT_4_1106_PreviewOptions, type GPT_4_1106_PreviewOptionsType, GPT_4_1106_PreviewSchema, GPT_4_Turbo_2024_04_09, GPT_4_Turbo_2024_04_09Literal, GPT_4_Turbo_2024_04_09Options, type GPT_4_Turbo_2024_04_09OptionsType, GPT_4_Turbo_2024_04_09Schema, GPT_4o, GPT_4oLiteral, GPT_4oOptions, type GPT_4oOptionsType, GPT_4oSchema, GPT_4o_2024_05_13, GPT_4o_2024_05_13Literal, GPT_4o_2024_05_13Options, type GPT_4o_2024_05_13OptionsType, GPT_4o_2024_05_13Schema, GPT_4o_2024_08_06, GPT_4o_2024_08_06Literal, GPT_4o_2024_08_06Options, type GPT_4o_2024_08_06OptionsType, GPT_4o_2024_08_06Schema, GPT_4o_Mini, GPT_4o_MiniLiteral, GPT_4o_MiniOptions, type GPT_4o_MiniOptionsType, GPT_4o_MiniSchema, GPT_4o_Mini_2024_07_18, GPT_4o_Mini_2024_07_18Literal, GPT_4o_Mini_2024_07_18Options, type GPT_4o_Mini_2024_07_18OptionsType, GPT_4o_Mini_2024_07_18Schema, Text_Embedding_3_Large, Text_Embedding_3_LargeLiteral, Text_Embedding_3_LargeOptions, type Text_Embedding_3_LargeOptionsType, Text_Embedding_3_LargeSchema, Text_Embedding_3_Small, Text_Embedding_3_SmallLiteral, Text_Embedding_3_SmallOptions, type Text_Embedding_3_SmallOptionsType, Text_Embedding_3_SmallSchema, Text_Embedding_Ada_002, Text_Embedding_Ada_002Literal, Text_Embedding_Ada_002Options, type Text_Embedding_Ada_002OptionsType, Text_Embedding_Ada_002Schema };