@sap-ai-sdk/foundation-models 1.0.1-20241004013114.0 → 1.1.1-20241005013046.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.
Files changed (54) hide show
  1. package/README.md +20 -5
  2. package/dist/azure-openai/client/inference/schema/azure-chat-extension-configuration.d.ts +3 -3
  3. package/dist/azure-openai/client/inference/schema/azure-chat-extension-type.d.ts +3 -3
  4. package/dist/azure-openai/client/inference/schema/azure-chat-extensions-message-context.d.ts +3 -3
  5. package/dist/azure-openai/client/inference/schema/azure-cosmos-db-chat-extension-configuration.d.ts +1 -2
  6. package/dist/azure-openai/client/inference/schema/azure-cosmos-db-chat-extension-configuration.d.ts.map +1 -1
  7. package/dist/azure-openai/client/inference/schema/azure-search-chat-extension-configuration.d.ts +1 -2
  8. package/dist/azure-openai/client/inference/schema/azure-search-chat-extension-configuration.d.ts.map +1 -1
  9. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.d.ts +1 -2
  10. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.d.ts.map +1 -1
  11. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.d.ts +1 -2
  12. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.d.ts.map +1 -1
  13. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.d.ts +1 -2
  14. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.d.ts.map +1 -1
  15. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.js +5 -0
  16. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.js.map +1 -1
  17. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.d.ts +1 -2
  18. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.d.ts.map +1 -1
  19. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.js +5 -0
  20. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.js.map +1 -1
  21. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.d.ts +1 -2
  22. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.d.ts.map +1 -1
  23. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.js +5 -0
  24. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.js.map +1 -1
  25. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.d.ts +1 -2
  26. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.d.ts.map +1 -1
  27. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.js +5 -0
  28. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.js.map +1 -1
  29. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.d.ts +1 -2
  30. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.d.ts.map +1 -1
  31. package/dist/azure-openai/client/inference/schema/create-chat-completion-request.d.ts +2 -2
  32. package/dist/azure-openai/client/inference/schema/on-your-data-api-key-authentication-options.d.ts +1 -2
  33. package/dist/azure-openai/client/inference/schema/on-your-data-api-key-authentication-options.d.ts.map +1 -1
  34. package/dist/azure-openai/client/inference/schema/on-your-data-api-key-authentication-options.js +5 -0
  35. package/dist/azure-openai/client/inference/schema/on-your-data-api-key-authentication-options.js.map +1 -1
  36. package/dist/azure-openai/client/inference/schema/on-your-data-connection-string-authentication-options.d.ts +1 -2
  37. package/dist/azure-openai/client/inference/schema/on-your-data-connection-string-authentication-options.d.ts.map +1 -1
  38. package/dist/azure-openai/client/inference/schema/on-your-data-connection-string-authentication-options.js +5 -0
  39. package/dist/azure-openai/client/inference/schema/on-your-data-connection-string-authentication-options.js.map +1 -1
  40. package/dist/azure-openai/client/inference/schema/on-your-data-deployment-name-vectorization-source.d.ts +1 -2
  41. package/dist/azure-openai/client/inference/schema/on-your-data-deployment-name-vectorization-source.d.ts.map +1 -1
  42. package/dist/azure-openai/client/inference/schema/on-your-data-deployment-name-vectorization-source.js +5 -0
  43. package/dist/azure-openai/client/inference/schema/on-your-data-deployment-name-vectorization-source.js.map +1 -1
  44. package/dist/azure-openai/client/inference/schema/on-your-data-endpoint-vectorization-source.d.ts +1 -2
  45. package/dist/azure-openai/client/inference/schema/on-your-data-endpoint-vectorization-source.d.ts.map +1 -1
  46. package/dist/azure-openai/client/inference/schema/on-your-data-system-assigned-managed-identity-authentication-options.d.ts +1 -2
  47. package/dist/azure-openai/client/inference/schema/on-your-data-system-assigned-managed-identity-authentication-options.d.ts.map +1 -1
  48. package/dist/azure-openai/client/inference/schema/on-your-data-system-assigned-managed-identity-authentication-options.js +5 -0
  49. package/dist/azure-openai/client/inference/schema/on-your-data-system-assigned-managed-identity-authentication-options.js.map +1 -1
  50. package/dist/azure-openai/client/inference/schema/on-your-data-user-assigned-managed-identity-authentication-options.d.ts +1 -2
  51. package/dist/azure-openai/client/inference/schema/on-your-data-user-assigned-managed-identity-authentication-options.d.ts.map +1 -1
  52. package/dist/azure-openai/client/inference/schema/on-your-data-user-assigned-managed-identity-authentication-options.js +5 -0
  53. package/dist/azure-openai/client/inference/schema/on-your-data-user-assigned-managed-identity-authentication-options.js.map +1 -1
  54. package/package.json +3 -3
package/README.md CHANGED
@@ -4,14 +4,15 @@ This package incorporates generative AI foundation models into your AI activitie
4
4
 
5
5
  ## Table of Contents
6
6
 
7
- - [Table of Contents](#table-of-contents)
8
7
  - [Installation](#installation)
9
8
  - [Prerequisites](#prerequisites)
9
+ - [Relationship between Models and Deployment ID](#relationship-between-models-and-deployment-id)
10
10
  - [Usage](#usage)
11
11
  - [Client Initialization](#client-initialization)
12
12
  - [Chat Client](#chat-client)
13
13
  - [Embedding Client](#embedding-client)
14
14
  - [Custom Request Configuration](#custom-request-configuration)
15
+ - [Local Testing](#local-testing)
15
16
  - [Support, Feedback, Contribution](#support-feedback-contribution)
16
17
  - [License](#license)
17
18
 
@@ -26,9 +27,21 @@ $ npm install @sap-ai-sdk/foundation-models
26
27
  - [Enable the AI Core service in BTP](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/initial-setup).
27
28
  - Project configured with Node.js v20 or higher and native ESM support enabled.
28
29
  - A deployed OpenAI model in SAP Generative AI hub.
29
- - Use the [`DeploymentApi`](../ai-api/README.md#deploymentapi) from `@sap-ai-sdk/ai-api` to deploy a model to SAP generative AI hub. For more information, see [here](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/create-deployment-for-generative-ai-model-in-sap-ai-core).
30
+ - Use the [`DeploymentApi`](https://github.com/SAP/ai-sdk-js/blob/main/packages/ai-api/README.md#create-a-deployment) from `@sap-ai-sdk/ai-api` to deploy a model to SAP generative AI hub.
31
+ For more information, see [here](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/create-deployment-for-generative-ai-model-in-sap-ai-core).
30
32
  Deployment can be set up for each model and model version, as well as a resource group intended for use with the generative AI hub.
31
- - Once a deployment is complete, the model can be accessed via the `deploymentUrl`
33
+ - Once a deployment is complete, the model can be accessed via the `deploymentUrl`.
34
+
35
+ ## Relationship between Models and Deployment ID
36
+
37
+ SAP AI Core manages access to generative AI models through the global AI scenario `foundation-models`.
38
+ Creating a deployment for a model requires access to this scenario.
39
+
40
+ Each model, model version, and resource group allows for a one-time deployment.
41
+ After deployment completion, the response includes a `deploymentUrl` and an `id`, which is the deployment ID. For more information, see [here](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/create-deployment-for-generative-ai-model-in-sap-ai-core).
42
+ [Resource groups](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/resource-groups?q=resource+group) represent a virtual collection of related resources within the scope of one SAP AI Core tenant.
43
+
44
+ Consequently, each deployment ID and resource group uniquely map to a combination of model and model version within the `foundation-models` scenario.
32
45
 
33
46
  ## Usage
34
47
 
@@ -50,8 +63,6 @@ const chatClient = new AzureOpenAiChatClient({ modelName: 'gpt-4o' });
50
63
  const embeddingClient = new AzureOpenAiEmbeddingClient({ modelName: 'gpt-4o' });
51
64
  ```
52
65
 
53
- [Resource groups](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/resource-groups?q=resource+group) represent a virtual collection of related resources within the scope of one SAP AI Core tenant.
54
-
55
66
  The deployment ID and resource group can be used as an alternative to the model name for obtaining a model.
56
67
 
57
68
  ```ts
@@ -161,6 +172,10 @@ const response = await client.run(
161
172
  );
162
173
  ```
163
174
 
175
+ ## Local Testing
176
+
177
+ For local testing instructions, refer to this [section](https://github.com/SAP/ai-sdk-js/blob/main/README.md#local-testing).
178
+
164
179
  ## Support, Feedback, Contribution
165
180
 
166
181
  This project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/SAP/ai-sdk-js/issues).
@@ -1,9 +1,9 @@
1
1
  import type { AzureOpenAiAzureSearchChatExtensionConfiguration } from './azure-search-chat-extension-configuration.js';
2
2
  import type { AzureOpenAiAzureCosmosDBChatExtensionConfiguration } from './azure-cosmos-db-chat-extension-configuration.js';
3
3
  /**
4
- * A representation of configuration data for a single Azure OpenAI chat extension. This will be used by a chat
5
- * completions request that should use Azure OpenAI chat extensions to augment the response behavior.
6
- * The use of this configuration is compatible only with Azure OpenAI.
4
+ * A representation of configuration data for a single Azure OpenAI chat extension. This will be used by a chat
5
+ * completions request that should use Azure OpenAI chat extensions to augment the response behavior.
6
+ * The use of this configuration is compatible only with Azure OpenAI.
7
7
  */
8
8
  export type AzureOpenAiAzureChatExtensionConfiguration = ({
9
9
  type: 'azure_search';
@@ -1,7 +1,7 @@
1
1
  /**
2
- * A representation of configuration data for a single Azure OpenAI chat extension. This will be used by a chat
3
- * completions request that should use Azure OpenAI chat extensions to augment the response behavior.
4
- * The use of this configuration is compatible only with Azure OpenAI.
2
+ * A representation of configuration data for a single Azure OpenAI chat extension. This will be used by a chat
3
+ * completions request that should use Azure OpenAI chat extensions to augment the response behavior.
4
+ * The use of this configuration is compatible only with Azure OpenAI.
5
5
  */
6
6
  export type AzureOpenAiAzureChatExtensionType = 'azure_search' | 'azure_cosmos_db';
7
7
  //# sourceMappingURL=azure-chat-extension-type.d.ts.map
@@ -1,8 +1,8 @@
1
1
  import type { AzureOpenAiCitation } from './citation.js';
2
2
  /**
3
- * A representation of the additional context information available when Azure OpenAI chat extensions are involved
4
- * in the generation of a corresponding chat completions response. This context information is only populated when
5
- * using an Azure OpenAI request configured to use a matching extension.
3
+ * A representation of the additional context information available when Azure OpenAI chat extensions are involved
4
+ * in the generation of a corresponding chat completions response. This context information is only populated when
5
+ * using an Azure OpenAI request configured to use a matching extension.
6
6
  */
7
7
  export type AzureOpenAiAzureChatExtensionsMessageContext = {
8
8
  /**
@@ -1,11 +1,10 @@
1
- import type { AzureOpenAiAzureChatExtensionType } from './azure-chat-extension-type.js';
2
1
  import type { AzureOpenAiAzureCosmosDBChatExtensionParameters } from './azure-cosmos-db-chat-extension-parameters.js';
3
2
  /**
4
3
  * A specific representation of configurable options for Azure Cosmos DB when using it as an Azure OpenAI chat
5
4
  * extension.
6
5
  */
7
6
  export type AzureOpenAiAzureCosmosDBChatExtensionConfiguration = {
8
- type: AzureOpenAiAzureChatExtensionType;
7
+ type: string;
9
8
  } & {
10
9
  parameters: AzureOpenAiAzureCosmosDBChatExtensionParameters;
11
10
  } & Record<string, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"azure-cosmos-db-chat-extension-configuration.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/azure-cosmos-db-chat-extension-configuration.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AACxF,OAAO,KAAK,EAAE,+CAA+C,EAAE,MAAM,gDAAgD,CAAC;AACtH;;;GAGG;AACH,MAAM,MAAM,kDAAkD,GAAG;IAC/D,IAAI,EAAE,iCAAiC,CAAC;CACzC,GAAG;IACF,UAAU,EAAE,+CAA+C,CAAC;CAC7D,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"azure-cosmos-db-chat-extension-configuration.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/azure-cosmos-db-chat-extension-configuration.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,+CAA+C,EAAE,MAAM,gDAAgD,CAAC;AACtH;;;GAGG;AACH,MAAM,MAAM,kDAAkD,GAAG;IAC/D,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF,UAAU,EAAE,+CAA+C,CAAC;CAC7D,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,11 +1,10 @@
1
- import type { AzureOpenAiAzureChatExtensionType } from './azure-chat-extension-type.js';
2
1
  import type { AzureOpenAiAzureSearchChatExtensionParameters } from './azure-search-chat-extension-parameters.js';
3
2
  /**
4
3
  * A specific representation of configurable options for Azure Search when using it as an Azure OpenAI chat
5
4
  * extension.
6
5
  */
7
6
  export type AzureOpenAiAzureSearchChatExtensionConfiguration = {
8
- type: AzureOpenAiAzureChatExtensionType;
7
+ type: string;
9
8
  } & {
10
9
  parameters: AzureOpenAiAzureSearchChatExtensionParameters;
11
10
  } & Record<string, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"azure-search-chat-extension-configuration.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/azure-search-chat-extension-configuration.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AACxF,OAAO,KAAK,EAAE,6CAA6C,EAAE,MAAM,6CAA6C,CAAC;AACjH;;;GAGG;AACH,MAAM,MAAM,gDAAgD,GAAG;IAC7D,IAAI,EAAE,iCAAiC,CAAC;CACzC,GAAG;IACF,UAAU,EAAE,6CAA6C,CAAC;CAC3D,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"azure-search-chat-extension-configuration.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/azure-search-chat-extension-configuration.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,6CAA6C,EAAE,MAAM,6CAA6C,CAAC;AACjH;;;GAGG;AACH,MAAM,MAAM,gDAAgD,GAAG;IAC7D,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF,UAAU,EAAE,6CAA6C,CAAC;CAC3D,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,11 +1,10 @@
1
- import type { AzureOpenAiChatCompletionRequestMessageRole } from './chat-completion-request-message-role.js';
2
1
  import type { AzureOpenAiChatCompletionMessageToolCall } from './chat-completion-message-tool-call.js';
3
2
  import type { AzureOpenAiAzureChatExtensionsMessageContext } from './azure-chat-extensions-message-context.js';
4
3
  /**
5
4
  * Representation of the 'AzureOpenAiChatCompletionRequestMessageAssistant' schema.
6
5
  */
7
6
  export type AzureOpenAiChatCompletionRequestMessageAssistant = {
8
- role: AzureOpenAiChatCompletionRequestMessageRole;
7
+ role: string;
9
8
  } & {
10
9
  /**
11
10
  * The contents of the message.
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-assistant.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-assistant.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,2CAA2C,CAAC;AAC7G,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,wCAAwC,CAAC;AACvG,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,4CAA4C,CAAC;AAC/G;;GAEG;AACH,MAAM,MAAM,gDAAgD,GAAG;IAC7D,IAAI,EAAE,2CAA2C,CAAC;CACnD,GAAG;IACF;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,UAAU,CAAC,EAAE,wCAAwC,EAAE,CAAC;IACxD,OAAO,CAAC,EAAE,4CAA4C,CAAC;CACxD,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"chat-completion-request-message-assistant.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-assistant.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,wCAAwC,CAAC;AACvG,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,4CAA4C,CAAC;AAC/G;;GAEG;AACH,MAAM,MAAM,gDAAgD,GAAG;IAC7D,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,UAAU,CAAC,EAAE,wCAAwC,EAAE,CAAC;IACxD,OAAO,CAAC,EAAE,4CAA4C,CAAC;CACxD,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,10 +1,9 @@
1
- import type { AzureOpenAiChatCompletionRequestMessageContentPartType } from './chat-completion-request-message-content-part-type.js';
2
1
  import type { AzureOpenAiImageDetailLevel } from './image-detail-level.js';
3
2
  /**
4
3
  * Representation of the 'AzureOpenAiChatCompletionRequestMessageContentPartImage' schema.
5
4
  */
6
5
  export type AzureOpenAiChatCompletionRequestMessageContentPartImage = {
7
- type: AzureOpenAiChatCompletionRequestMessageContentPartType;
6
+ type: string;
8
7
  } & {
9
8
  /**
10
9
  * Either a URL of the image or the base64 encoded image data.
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-content-part-image.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sDAAsD,EAAE,MAAM,wDAAwD,CAAC;AACrI,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAC3E;;GAEG;AACH,MAAM,MAAM,uDAAuD,GAAG;IACpE,IAAI,EAAE,sDAAsD,CAAC;CAC9D,GAAG;IACF;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,2BAA2B,CAAC;CACtC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"chat-completion-request-message-content-part-image.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAC3E;;GAEG;AACH,MAAM,MAAM,uDAAuD,GAAG;IACpE,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,2BAA2B,CAAC;CACtC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,9 +1,8 @@
1
- import type { AzureOpenAiChatCompletionRequestMessageContentPartType } from './chat-completion-request-message-content-part-type.js';
2
1
  /**
3
2
  * Representation of the 'AzureOpenAiChatCompletionRequestMessageContentPartText' schema.
4
3
  */
5
4
  export type AzureOpenAiChatCompletionRequestMessageContentPartText = {
6
- type: AzureOpenAiChatCompletionRequestMessageContentPartType;
5
+ type: string;
7
6
  } & {
8
7
  /**
9
8
  * The text content.
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-content-part-text.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sDAAsD,EAAE,MAAM,wDAAwD,CAAC;AACrI;;GAEG;AACH,MAAM,MAAM,sDAAsD,GAAG;IACnE,IAAI,EAAE,sDAAsD,CAAC;CAC9D,GAAG;IACF;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"chat-completion-request-message-content-part-text.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,sDAAsD,GAAG;IACnE,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,2 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
1
6
  export {};
2
7
  //# sourceMappingURL=chat-completion-request-message-content-part-text.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-content-part-text.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"chat-completion-request-message-content-part-text.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,9 +1,8 @@
1
- import type { AzureOpenAiChatCompletionRequestMessageRole } from './chat-completion-request-message-role.js';
2
1
  /**
3
2
  * Representation of the 'AzureOpenAiChatCompletionRequestMessageFunction' schema.
4
3
  */
5
4
  export type AzureOpenAiChatCompletionRequestMessageFunction = {
6
- role: AzureOpenAiChatCompletionRequestMessageRole;
5
+ role: string;
7
6
  } & {
8
7
  /**
9
8
  * The role of the messages author, in this case `function`.
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-function.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-function.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,2CAA2C,CAAC;AAC7G;;GAEG;AACH,MAAM,MAAM,+CAA+C,GAAG;IAC5D,IAAI,EAAE,2CAA2C,CAAC;CACnD,GAAG;IACF;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"chat-completion-request-message-function.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-function.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,+CAA+C,GAAG;IAC5D,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,2 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
1
6
  export {};
2
7
  //# sourceMappingURL=chat-completion-request-message-function.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-function.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-function.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"chat-completion-request-message-function.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-function.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,9 +1,8 @@
1
- import type { AzureOpenAiChatCompletionRequestMessageRole } from './chat-completion-request-message-role.js';
2
1
  /**
3
2
  * Representation of the 'AzureOpenAiChatCompletionRequestMessageSystem' schema.
4
3
  */
5
4
  export type AzureOpenAiChatCompletionRequestMessageSystem = {
6
- role: AzureOpenAiChatCompletionRequestMessageRole;
5
+ role: string;
7
6
  } & {
8
7
  /**
9
8
  * The contents of the message.
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-system.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-system.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,2CAA2C,CAAC;AAC7G;;GAEG;AACH,MAAM,MAAM,6CAA6C,GAAG;IAC1D,IAAI,EAAE,2CAA2C,CAAC;CACnD,GAAG;IACF;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"chat-completion-request-message-system.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-system.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,6CAA6C,GAAG;IAC1D,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,2 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
1
6
  export {};
2
7
  //# sourceMappingURL=chat-completion-request-message-system.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-system.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-system.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"chat-completion-request-message-system.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-system.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,9 +1,8 @@
1
- import type { AzureOpenAiChatCompletionRequestMessageRole } from './chat-completion-request-message-role.js';
2
1
  /**
3
2
  * Representation of the 'AzureOpenAiChatCompletionRequestMessageTool' schema.
4
3
  */
5
4
  export type AzureOpenAiChatCompletionRequestMessageTool = {
6
- role: AzureOpenAiChatCompletionRequestMessageRole;
5
+ role: string;
7
6
  } & {
8
7
  /**
9
8
  * Tool call that this message is responding to.
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-tool.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-tool.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,2CAA2C,CAAC;AAC7G;;GAEG;AACH,MAAM,MAAM,2CAA2C,GAAG;IACxD,IAAI,EAAE,2CAA2C,CAAC;CACnD,GAAG;IACF;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"chat-completion-request-message-tool.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-tool.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,2CAA2C,GAAG;IACxD,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,2 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
1
6
  export {};
2
7
  //# sourceMappingURL=chat-completion-request-message-tool.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-tool.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-tool.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"chat-completion-request-message-tool.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,10 +1,9 @@
1
- import type { AzureOpenAiChatCompletionRequestMessageRole } from './chat-completion-request-message-role.js';
2
1
  import type { AzureOpenAiChatCompletionRequestMessageContentPart } from './chat-completion-request-message-content-part.js';
3
2
  /**
4
3
  * Representation of the 'AzureOpenAiChatCompletionRequestMessageUser' schema.
5
4
  */
6
5
  export type AzureOpenAiChatCompletionRequestMessageUser = {
7
- role: AzureOpenAiChatCompletionRequestMessageRole;
6
+ role: string;
8
7
  } & {
9
8
  content: string | AzureOpenAiChatCompletionRequestMessageContentPart[] | null;
10
9
  } & Record<string, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-user.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-user.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,2CAA2C,CAAC;AAC7G,OAAO,KAAK,EAAE,kDAAkD,EAAE,MAAM,mDAAmD,CAAC;AAC5H;;GAEG;AACH,MAAM,MAAM,2CAA2C,GAAG;IACxD,IAAI,EAAE,2CAA2C,CAAC;CACnD,GAAG;IACF,OAAO,EAAE,MAAM,GAAG,kDAAkD,EAAE,GAAG,IAAI,CAAC;CAC/E,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"chat-completion-request-message-user.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-user.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kDAAkD,EAAE,MAAM,mDAAmD,CAAC;AAC5H;;GAEG;AACH,MAAM,MAAM,2CAA2C,GAAG;IACxD,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF,OAAO,EAAE,MAAM,GAAG,kDAAkD,EAAE,GAAG,IAAI,CAAC;CAC/E,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -15,8 +15,8 @@ export type AzureOpenAiCreateChatCompletionRequest = AzureOpenAiChatCompletionsR
15
15
  */
16
16
  messages: AzureOpenAiChatCompletionRequestMessage[];
17
17
  /**
18
- * The configuration entries for Azure OpenAI chat extensions that use them.
19
- * This additional specification is only compatible with Azure OpenAI.
18
+ * The configuration entries for Azure OpenAI chat extensions that use them.
19
+ * This additional specification is only compatible with Azure OpenAI.
20
20
  */
21
21
  data_sources?: AzureOpenAiAzureChatExtensionConfiguration[];
22
22
  /**
@@ -1,9 +1,8 @@
1
- import type { AzureOpenAiOnYourDataAuthenticationType } from './on-your-data-authentication-type.js';
2
1
  /**
3
2
  * The authentication options for Azure OpenAI On Your Data when using an API key.
4
3
  */
5
4
  export type AzureOpenAiOnYourDataApiKeyAuthenticationOptions = {
6
- type: AzureOpenAiOnYourDataAuthenticationType;
5
+ type: string;
7
6
  } & {
8
7
  /**
9
8
  * The API key to use for authentication.
@@ -1 +1 @@
1
- {"version":3,"file":"on-your-data-api-key-authentication-options.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-api-key-authentication-options.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,uCAAuC,CAAC;AACrG;;GAEG;AACH,MAAM,MAAM,gDAAgD,GAAG;IAC7D,IAAI,EAAE,uCAAuC,CAAC;CAC/C,GAAG;IACF;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"on-your-data-api-key-authentication-options.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-api-key-authentication-options.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,gDAAgD,GAAG;IAC7D,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,2 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
1
6
  export {};
2
7
  //# sourceMappingURL=on-your-data-api-key-authentication-options.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"on-your-data-api-key-authentication-options.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-api-key-authentication-options.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"on-your-data-api-key-authentication-options.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-api-key-authentication-options.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,9 +1,8 @@
1
- import type { AzureOpenAiOnYourDataAuthenticationType } from './on-your-data-authentication-type.js';
2
1
  /**
3
2
  * The authentication options for Azure OpenAI On Your Data when using a connection string.
4
3
  */
5
4
  export type AzureOpenAiOnYourDataConnectionStringAuthenticationOptions = {
6
- type: AzureOpenAiOnYourDataAuthenticationType;
5
+ type: string;
7
6
  } & {
8
7
  /**
9
8
  * The connection string to use for authentication.
@@ -1 +1 @@
1
- {"version":3,"file":"on-your-data-connection-string-authentication-options.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-connection-string-authentication-options.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,uCAAuC,CAAC;AACrG;;GAEG;AACH,MAAM,MAAM,0DAA0D,GAAG;IACvE,IAAI,EAAE,uCAAuC,CAAC;CAC/C,GAAG;IACF;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC3B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"on-your-data-connection-string-authentication-options.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-connection-string-authentication-options.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,0DAA0D,GAAG;IACvE,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC3B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,2 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
1
6
  export {};
2
7
  //# sourceMappingURL=on-your-data-connection-string-authentication-options.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"on-your-data-connection-string-authentication-options.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-connection-string-authentication-options.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"on-your-data-connection-string-authentication-options.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-connection-string-authentication-options.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,10 +1,9 @@
1
- import type { AzureOpenAiOnYourDataVectorizationSourceType } from './on-your-data-vectorization-source-type.js';
2
1
  /**
3
2
  * The details of a a vectorization source, used by Azure OpenAI On Your Data when applying vector search, that is based
4
3
  * on an internal embeddings model deployment name in the same Azure OpenAI resource.
5
4
  */
6
5
  export type AzureOpenAiOnYourDataDeploymentNameVectorizationSource = {
7
- type: AzureOpenAiOnYourDataVectorizationSourceType;
6
+ type: string;
8
7
  } & {
9
8
  /**
10
9
  * Specifies the name of the model deployment to use for vectorization. This model deployment must be in the same Azure OpenAI resource, but On Your Data will use this model deployment via an internal call rather than a public one, which enables vector search even in private networks.
@@ -1 +1 @@
1
- {"version":3,"file":"on-your-data-deployment-name-vectorization-source.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-deployment-name-vectorization-source.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAChH;;;GAGG;AACH,MAAM,MAAM,sDAAsD,GAAG;IACnE,IAAI,EAAE,4CAA4C,CAAC;CACpD,GAAG;IACF;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"on-your-data-deployment-name-vectorization-source.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-deployment-name-vectorization-source.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,MAAM,MAAM,sDAAsD,GAAG;IACnE,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,2 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
1
6
  export {};
2
7
  //# sourceMappingURL=on-your-data-deployment-name-vectorization-source.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"on-your-data-deployment-name-vectorization-source.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-deployment-name-vectorization-source.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"on-your-data-deployment-name-vectorization-source.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-deployment-name-vectorization-source.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,11 +1,10 @@
1
- import type { AzureOpenAiOnYourDataVectorizationSourceType } from './on-your-data-vectorization-source-type.js';
2
1
  import type { AzureOpenAiOnYourDataApiKeyAuthenticationOptions } from './on-your-data-api-key-authentication-options.js';
3
2
  /**
4
3
  * The details of a a vectorization source, used by Azure OpenAI On Your Data when applying vector search, that is based
5
4
  * on a public Azure OpenAI endpoint call for embeddings.
6
5
  */
7
6
  export type AzureOpenAiOnYourDataEndpointVectorizationSource = {
8
- type: AzureOpenAiOnYourDataVectorizationSourceType;
7
+ type: string;
9
8
  } & {
10
9
  authentication: AzureOpenAiOnYourDataApiKeyAuthenticationOptions;
11
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"on-your-data-endpoint-vectorization-source.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-endpoint-vectorization-source.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAChH,OAAO,KAAK,EAAE,gDAAgD,EAAE,MAAM,kDAAkD,CAAC;AACzH;;;GAGG;AACH,MAAM,MAAM,gDAAgD,GAAG;IAC7D,IAAI,EAAE,4CAA4C,CAAC;CACpD,GAAG;IACF,cAAc,EAAE,gDAAgD,CAAC;IACjE;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"on-your-data-endpoint-vectorization-source.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-endpoint-vectorization-source.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gDAAgD,EAAE,MAAM,kDAAkD,CAAC;AACzH;;;GAGG;AACH,MAAM,MAAM,gDAAgD,GAAG;IAC7D,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF,cAAc,EAAE,gDAAgD,CAAC;IACjE;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,8 +1,7 @@
1
- import type { AzureOpenAiOnYourDataAuthenticationType } from './on-your-data-authentication-type.js';
2
1
  /**
3
2
  * The authentication options for Azure OpenAI On Your Data when using a system-assigned managed identity.
4
3
  */
5
4
  export type AzureOpenAiOnYourDataSystemAssignedManagedIdentityAuthenticationOptions = {
6
- type: AzureOpenAiOnYourDataAuthenticationType;
5
+ type: string;
7
6
  };
8
7
  //# sourceMappingURL=on-your-data-system-assigned-managed-identity-authentication-options.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"on-your-data-system-assigned-managed-identity-authentication-options.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-system-assigned-managed-identity-authentication-options.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,uCAAuC,CAAC;AACrG;;GAEG;AACH,MAAM,MAAM,uEAAuE,GACjF;IACE,IAAI,EAAE,uCAAuC,CAAC;CAC/C,CAAC"}
1
+ {"version":3,"file":"on-your-data-system-assigned-managed-identity-authentication-options.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-system-assigned-managed-identity-authentication-options.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,uEAAuE,GACjF;IACE,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -1,2 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
1
6
  export {};
2
7
  //# sourceMappingURL=on-your-data-system-assigned-managed-identity-authentication-options.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"on-your-data-system-assigned-managed-identity-authentication-options.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-system-assigned-managed-identity-authentication-options.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"on-your-data-system-assigned-managed-identity-authentication-options.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-system-assigned-managed-identity-authentication-options.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,9 +1,8 @@
1
- import type { AzureOpenAiOnYourDataAuthenticationType } from './on-your-data-authentication-type.js';
2
1
  /**
3
2
  * The authentication options for Azure OpenAI On Your Data when using a user-assigned managed identity.
4
3
  */
5
4
  export type AzureOpenAiOnYourDataUserAssignedManagedIdentityAuthenticationOptions = {
6
- type: AzureOpenAiOnYourDataAuthenticationType;
5
+ type: string;
7
6
  } & {
8
7
  /**
9
8
  * The resource ID of the user-assigned managed identity to use for authentication.
@@ -1 +1 @@
1
- {"version":3,"file":"on-your-data-user-assigned-managed-identity-authentication-options.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-user-assigned-managed-identity-authentication-options.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,uCAAuC,CAAC;AACrG;;GAEG;AACH,MAAM,MAAM,qEAAqE,GAC/E;IACE,IAAI,EAAE,uCAAuC,CAAC;CAC/C,GAAG;IACF;;OAEG;IACH,4BAA4B,EAAE,MAAM,CAAC;CACtC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"on-your-data-user-assigned-managed-identity-authentication-options.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-user-assigned-managed-identity-authentication-options.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,qEAAqE,GAC/E;IACE,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF;;OAEG;IACH,4BAA4B,EAAE,MAAM,CAAC;CACtC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,2 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
1
6
  export {};
2
7
  //# sourceMappingURL=on-your-data-user-assigned-managed-identity-authentication-options.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"on-your-data-user-assigned-managed-identity-authentication-options.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-user-assigned-managed-identity-authentication-options.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"on-your-data-user-assigned-managed-identity-authentication-options.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/on-your-data-user-assigned-managed-identity-authentication-options.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ai-sdk/foundation-models",
3
- "version": "1.0.1-20241004013114.0",
3
+ "version": "1.1.1-20241005013046.0",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -22,8 +22,8 @@
22
22
  "dependencies": {
23
23
  "@sap-cloud-sdk/http-client": "^3.21.0",
24
24
  "@sap-cloud-sdk/util": "^3.21.0",
25
- "@sap-ai-sdk/core": "^1.0.1-20241004013114.0",
26
- "@sap-ai-sdk/ai-api": "^1.0.1-20241004013114.0"
25
+ "@sap-ai-sdk/ai-api": "^1.1.1-20241005013046.0",
26
+ "@sap-ai-sdk/core": "^1.1.1-20241005013046.0"
27
27
  },
28
28
  "scripts": {
29
29
  "compile": "tsc",