@sap-ai-sdk/foundation-models 1.6.1-20250115013059.0 → 1.6.1-20250116013044.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 (251) hide show
  1. package/README.md +18 -0
  2. package/dist/azure-openai/azure-openai-chat-completion-response.d.ts +3 -3
  3. package/dist/azure-openai/azure-openai-chat-completion-response.d.ts.map +1 -1
  4. package/dist/azure-openai/azure-openai-chat-completion-response.js.map +1 -1
  5. package/dist/azure-openai/azure-openai-chat-completion-stream-chunk-response.d.ts +4 -4
  6. package/dist/azure-openai/azure-openai-chat-completion-stream-chunk-response.d.ts.map +1 -1
  7. package/dist/azure-openai/azure-openai-chat-completion-stream-chunk-response.js +2 -5
  8. package/dist/azure-openai/azure-openai-chat-completion-stream-chunk-response.js.map +1 -1
  9. package/dist/azure-openai/azure-openai-chat-completion-stream-response.d.ts +4 -4
  10. package/dist/azure-openai/azure-openai-chat-completion-stream-response.d.ts.map +1 -1
  11. package/dist/azure-openai/azure-openai-chat-completion-stream-response.js.map +1 -1
  12. package/dist/azure-openai/azure-openai-chat-completion-stream.d.ts +5 -4
  13. package/dist/azure-openai/azure-openai-chat-completion-stream.d.ts.map +1 -1
  14. package/dist/azure-openai/azure-openai-chat-completion-stream.js +9 -5
  15. package/dist/azure-openai/azure-openai-chat-completion-stream.js.map +1 -1
  16. package/dist/azure-openai/client/inference/schema/audio-response-format.js +1 -1
  17. package/dist/azure-openai/client/inference/schema/audio-response.d.ts +1 -1
  18. package/dist/azure-openai/client/inference/schema/audio-response.js +1 -1
  19. package/dist/azure-openai/client/inference/schema/audio-segment.js +1 -1
  20. package/dist/azure-openai/client/inference/schema/audio-verbose-response.d.ts +1 -1
  21. package/dist/azure-openai/client/inference/schema/azure-chat-extension-configuration.d.ts +3 -3
  22. package/dist/azure-openai/client/inference/schema/azure-chat-extension-type.d.ts +3 -3
  23. package/dist/azure-openai/client/inference/schema/azure-chat-extension-type.js +1 -1
  24. package/dist/azure-openai/client/inference/schema/azure-chat-extensions-message-context.d.ts +3 -3
  25. package/dist/azure-openai/client/inference/schema/azure-cosmos-db-field-mapping-options.js +1 -1
  26. package/dist/azure-openai/client/inference/schema/azure-search-index-field-mapping-options.js +1 -1
  27. package/dist/azure-openai/client/inference/schema/azure-search-query-type.js +1 -1
  28. package/dist/azure-openai/client/inference/schema/chat-completion-choice-common.js +1 -1
  29. package/dist/azure-openai/client/inference/schema/chat-completion-choice-log-probs.d.ts +4 -0
  30. package/dist/azure-openai/client/inference/schema/chat-completion-choice-log-probs.d.ts.map +1 -1
  31. package/dist/azure-openai/client/inference/schema/chat-completion-function-call-option.d.ts +11 -0
  32. package/dist/azure-openai/client/inference/schema/chat-completion-function-call-option.d.ts.map +1 -0
  33. package/dist/azure-openai/client/inference/schema/chat-completion-function-call-option.js +7 -0
  34. package/dist/azure-openai/client/inference/schema/chat-completion-function-call-option.js.map +1 -0
  35. package/dist/azure-openai/client/inference/schema/chat-completion-function-call.js +1 -1
  36. package/dist/azure-openai/client/inference/schema/chat-completion-functions.d.ts +17 -0
  37. package/dist/azure-openai/client/inference/schema/chat-completion-functions.d.ts.map +1 -0
  38. package/dist/azure-openai/client/inference/schema/chat-completion-functions.js +2 -0
  39. package/dist/azure-openai/client/inference/schema/chat-completion-functions.js.map +1 -0
  40. package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-call-chunk.d.ts +25 -0
  41. package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-call-chunk.d.ts.map +1 -0
  42. package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-call-chunk.js +7 -0
  43. package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-call-chunk.js.map +1 -0
  44. package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-calls.d.ts +6 -0
  45. package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-calls.d.ts.map +1 -0
  46. package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-calls.js +2 -0
  47. package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-calls.js.map +1 -0
  48. package/dist/azure-openai/client/inference/schema/chat-completion-named-tool-choice.d.ts +2 -2
  49. package/dist/azure-openai/client/inference/schema/chat-completion-named-tool-choice.d.ts.map +1 -1
  50. package/dist/azure-openai/client/inference/schema/chat-completion-named-tool-choice.js +1 -1
  51. package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message-content-part.d.ts +7 -0
  52. package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message-content-part.d.ts.map +1 -0
  53. package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message-content-part.js +2 -0
  54. package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message-content-part.js.map +1 -0
  55. package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message.d.ts +40 -0
  56. package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message.d.ts.map +1 -0
  57. package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message.js +2 -0
  58. package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message.js.map +1 -0
  59. package/dist/azure-openai/client/inference/schema/chat-completion-request-function-message.d.ts +19 -0
  60. package/dist/azure-openai/client/inference/schema/chat-completion-request-function-message.d.ts.map +1 -0
  61. package/dist/azure-openai/client/inference/schema/chat-completion-request-function-message.js +7 -0
  62. package/dist/azure-openai/client/inference/schema/chat-completion-request-function-message.js.map +1 -0
  63. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.d.ts +14 -7
  64. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.d.ts.map +1 -1
  65. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.js +5 -0
  66. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.js.map +1 -1
  67. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-refusal.d.ts +14 -0
  68. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-refusal.d.ts.map +1 -0
  69. package/dist/azure-openai/client/inference/schema/{chat-completion-request-message-content-part-type.js → chat-completion-request-message-content-part-refusal.js} +2 -2
  70. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-refusal.js.map +1 -0
  71. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.d.ts +4 -2
  72. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.d.ts.map +1 -1
  73. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.js +1 -1
  74. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.d.ts +2 -3
  75. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.d.ts.map +1 -1
  76. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.js +0 -5
  77. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.js.map +1 -1
  78. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.d.ts +2 -3
  79. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.d.ts.map +1 -1
  80. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.js +0 -5
  81. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.js.map +1 -1
  82. package/dist/azure-openai/client/inference/schema/chat-completion-request-message.d.ts +6 -16
  83. package/dist/azure-openai/client/inference/schema/chat-completion-request-message.d.ts.map +1 -1
  84. package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message-content-part.d.ts +6 -0
  85. package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message-content-part.d.ts.map +1 -0
  86. package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message-content-part.js +2 -0
  87. package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message-content-part.js.map +1 -0
  88. package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message.d.ts +19 -0
  89. package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message.d.ts.map +1 -0
  90. package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message.js +2 -0
  91. package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message.js.map +1 -0
  92. package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message-content-part.d.ts +6 -0
  93. package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message-content-part.d.ts.map +1 -0
  94. package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message-content-part.js +2 -0
  95. package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message-content-part.js.map +1 -0
  96. package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message.d.ts +19 -0
  97. package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message.d.ts.map +1 -0
  98. package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message.js +2 -0
  99. package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message.js.map +1 -0
  100. package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message-content-part.d.ts +7 -0
  101. package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message-content-part.d.ts.map +1 -0
  102. package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message-content-part.js +2 -0
  103. package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message-content-part.js.map +1 -0
  104. package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message.d.ts +20 -0
  105. package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message.d.ts.map +1 -0
  106. package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message.js +2 -0
  107. package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message.js.map +1 -0
  108. package/dist/azure-openai/client/inference/schema/chat-completion-response-message-role.js +1 -1
  109. package/dist/azure-openai/client/inference/schema/chat-completion-response-message.d.ts +6 -2
  110. package/dist/azure-openai/client/inference/schema/chat-completion-response-message.d.ts.map +1 -1
  111. package/dist/azure-openai/client/inference/schema/chat-completion-stream-options.d.ts +12 -0
  112. package/dist/azure-openai/client/inference/schema/chat-completion-stream-options.d.ts.map +1 -0
  113. package/dist/azure-openai/client/inference/schema/chat-completion-stream-options.js +7 -0
  114. package/dist/azure-openai/client/inference/schema/chat-completion-stream-options.js.map +1 -0
  115. package/dist/azure-openai/client/inference/schema/chat-completion-stream-response-delta.d.ts +34 -0
  116. package/dist/azure-openai/client/inference/schema/chat-completion-stream-response-delta.d.ts.map +1 -0
  117. package/dist/azure-openai/client/inference/schema/chat-completion-stream-response-delta.js +2 -0
  118. package/dist/azure-openai/client/inference/schema/chat-completion-stream-response-delta.js.map +1 -0
  119. package/dist/azure-openai/client/inference/schema/chat-completion-token-logprob.js +1 -1
  120. package/dist/azure-openai/client/inference/schema/chat-completion-tool-choice-option.d.ts +1 -1
  121. package/dist/azure-openai/client/inference/schema/chat-completion-tool.d.ts +6 -14
  122. package/dist/azure-openai/client/inference/schema/chat-completion-tool.d.ts.map +1 -1
  123. package/dist/azure-openai/client/inference/schema/chat-completions-request-common.d.ts +5 -1
  124. package/dist/azure-openai/client/inference/schema/chat-completions-request-common.d.ts.map +1 -1
  125. package/dist/azure-openai/client/inference/schema/chat-completions-request-common.js +1 -1
  126. package/dist/azure-openai/client/inference/schema/citation.d.ts +1 -1
  127. package/dist/azure-openai/client/inference/schema/citation.js +1 -1
  128. package/dist/azure-openai/client/inference/schema/completion-usage.d.ts +9 -0
  129. package/dist/azure-openai/client/inference/schema/completion-usage.d.ts.map +1 -1
  130. package/dist/azure-openai/client/inference/schema/completion-usage.js +1 -1
  131. package/dist/azure-openai/client/inference/schema/content-filter-result-base.js +1 -1
  132. package/dist/azure-openai/client/inference/schema/create-chat-completion-request.d.ts +111 -27
  133. package/dist/azure-openai/client/inference/schema/create-chat-completion-request.d.ts.map +1 -1
  134. package/dist/azure-openai/client/inference/schema/create-chat-completion-response.d.ts +58 -8
  135. package/dist/azure-openai/client/inference/schema/create-chat-completion-response.d.ts.map +1 -1
  136. package/dist/azure-openai/client/inference/schema/create-chat-completion-stream-response.d.ts +62 -0
  137. package/dist/azure-openai/client/inference/schema/create-chat-completion-stream-response.d.ts.map +1 -0
  138. package/dist/azure-openai/client/inference/schema/create-chat-completion-stream-response.js +2 -0
  139. package/dist/azure-openai/client/inference/schema/create-chat-completion-stream-response.js.map +1 -0
  140. package/dist/azure-openai/client/inference/schema/create-completion-request.d.ts +134 -0
  141. package/dist/azure-openai/client/inference/schema/create-completion-request.d.ts.map +1 -0
  142. package/dist/azure-openai/client/inference/schema/create-completion-request.js +7 -0
  143. package/dist/azure-openai/client/inference/schema/create-completion-request.js.map +1 -0
  144. package/dist/azure-openai/client/inference/schema/create-completion-response.d.ts +56 -0
  145. package/dist/azure-openai/client/inference/schema/create-completion-response.d.ts.map +1 -0
  146. package/dist/azure-openai/client/inference/schema/create-completion-response.js +2 -0
  147. package/dist/azure-openai/client/inference/schema/create-completion-response.js.map +1 -0
  148. package/dist/azure-openai/client/inference/schema/error-base.js +1 -1
  149. package/dist/azure-openai/client/inference/schema/function-object.d.ts +20 -0
  150. package/dist/azure-openai/client/inference/schema/function-object.d.ts.map +1 -0
  151. package/dist/azure-openai/client/inference/schema/function-object.js +2 -0
  152. package/dist/azure-openai/client/inference/schema/function-object.js.map +1 -0
  153. package/dist/azure-openai/client/inference/schema/function-parameters.d.ts +7 -0
  154. package/dist/azure-openai/client/inference/schema/function-parameters.d.ts.map +1 -0
  155. package/dist/azure-openai/client/inference/schema/function-parameters.js +7 -0
  156. package/dist/azure-openai/client/inference/schema/function-parameters.js.map +1 -0
  157. package/dist/azure-openai/client/inference/schema/generate-images-response.d.ts +1 -1
  158. package/dist/azure-openai/client/inference/schema/image-quality.js +1 -1
  159. package/dist/azure-openai/client/inference/schema/image-result.d.ts +1 -1
  160. package/dist/azure-openai/client/inference/schema/image-size.js +1 -1
  161. package/dist/azure-openai/client/inference/schema/image-style.js +1 -1
  162. package/dist/azure-openai/client/inference/schema/images-response-format.js +1 -1
  163. package/dist/azure-openai/client/inference/schema/index.d.ts +26 -13
  164. package/dist/azure-openai/client/inference/schema/index.d.ts.map +1 -1
  165. package/dist/azure-openai/client/inference/schema/index.js +27 -14
  166. package/dist/azure-openai/client/inference/schema/index.js.map +1 -1
  167. package/dist/azure-openai/client/inference/schema/inner-error-code.js +1 -1
  168. package/dist/azure-openai/client/inference/schema/on-your-data-api-key-authentication-options.js +1 -1
  169. package/dist/azure-openai/client/inference/schema/on-your-data-authentication-type.js +1 -1
  170. package/dist/azure-openai/client/inference/schema/on-your-data-connection-string-authentication-options.js +1 -1
  171. package/dist/azure-openai/client/inference/schema/on-your-data-deployment-name-vectorization-source.js +1 -1
  172. package/dist/azure-openai/client/inference/schema/on-your-data-system-assigned-managed-identity-authentication-options.js +1 -1
  173. package/dist/azure-openai/client/inference/schema/on-your-data-user-assigned-managed-identity-authentication-options.js +1 -1
  174. package/dist/azure-openai/client/inference/schema/on-your-data-vectorization-source-type.js +1 -1
  175. package/dist/azure-openai/client/inference/schema/parallel-tool-calls.d.ts +6 -0
  176. package/dist/azure-openai/client/inference/schema/parallel-tool-calls.d.ts.map +1 -0
  177. package/dist/azure-openai/client/inference/schema/parallel-tool-calls.js +7 -0
  178. package/dist/azure-openai/client/inference/schema/parallel-tool-calls.js.map +1 -0
  179. package/dist/azure-openai/client/inference/schema/response-format-json-object.d.ts +10 -0
  180. package/dist/azure-openai/client/inference/schema/response-format-json-object.d.ts.map +1 -0
  181. package/dist/azure-openai/client/inference/schema/response-format-json-object.js +7 -0
  182. package/dist/azure-openai/client/inference/schema/response-format-json-object.js.map +1 -0
  183. package/dist/azure-openai/client/inference/schema/response-format-json-schema-schema.d.ts +5 -0
  184. package/dist/azure-openai/client/inference/schema/response-format-json-schema-schema.d.ts.map +1 -0
  185. package/dist/azure-openai/client/inference/schema/response-format-json-schema-schema.js +7 -0
  186. package/dist/azure-openai/client/inference/schema/response-format-json-schema-schema.js.map +1 -0
  187. package/dist/azure-openai/client/inference/schema/response-format-json-schema.d.ts +26 -0
  188. package/dist/azure-openai/client/inference/schema/response-format-json-schema.d.ts.map +1 -0
  189. package/dist/azure-openai/client/inference/schema/response-format-json-schema.js +2 -0
  190. package/dist/azure-openai/client/inference/schema/response-format-json-schema.js.map +1 -0
  191. package/dist/azure-openai/client/inference/schema/response-format-text.d.ts +10 -0
  192. package/dist/azure-openai/client/inference/schema/response-format-text.d.ts.map +1 -0
  193. package/dist/azure-openai/client/inference/schema/response-format-text.js +7 -0
  194. package/dist/azure-openai/client/inference/schema/response-format-text.js.map +1 -0
  195. package/dist/azure-openai/client/inference/schema/tool-call-type.js +1 -1
  196. package/dist/azure-openai/model-types.d.ts +1 -1
  197. package/dist/azure-openai/model-types.js +1 -1
  198. package/dist/index.d.ts +1 -1
  199. package/dist/index.d.ts.map +1 -1
  200. package/package.json +5 -4
  201. package/dist/azure-openai/client/inference/schema/chat-completion-function-parameters.d.ts +0 -5
  202. package/dist/azure-openai/client/inference/schema/chat-completion-function-parameters.d.ts.map +0 -1
  203. package/dist/azure-openai/client/inference/schema/chat-completion-function-parameters.js +0 -7
  204. package/dist/azure-openai/client/inference/schema/chat-completion-function-parameters.js.map +0 -1
  205. package/dist/azure-openai/client/inference/schema/chat-completion-function.d.ts +0 -16
  206. package/dist/azure-openai/client/inference/schema/chat-completion-function.d.ts.map +0 -1
  207. package/dist/azure-openai/client/inference/schema/chat-completion-function.js +0 -2
  208. package/dist/azure-openai/client/inference/schema/chat-completion-function.js.map +0 -1
  209. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.d.ts +0 -19
  210. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.d.ts.map +0 -1
  211. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.js +0 -2
  212. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.js.map +0 -1
  213. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-type.d.ts +0 -5
  214. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-type.d.ts.map +0 -1
  215. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-type.js.map +0 -1
  216. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part.d.ts +0 -11
  217. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part.d.ts.map +0 -1
  218. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part.js +0 -2
  219. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part.js.map +0 -1
  220. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-role.d.ts +0 -5
  221. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-role.d.ts.map +0 -1
  222. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-role.js +0 -7
  223. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-role.js.map +0 -1
  224. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.d.ts +0 -12
  225. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.d.ts.map +0 -1
  226. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.js +0 -7
  227. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.js.map +0 -1
  228. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.d.ts +0 -10
  229. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.d.ts.map +0 -1
  230. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.js +0 -2
  231. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.js.map +0 -1
  232. package/dist/azure-openai/client/inference/schema/chat-completion-response-format.d.ts +0 -7
  233. package/dist/azure-openai/client/inference/schema/chat-completion-response-format.d.ts.map +0 -1
  234. package/dist/azure-openai/client/inference/schema/chat-completion-response-format.js +0 -7
  235. package/dist/azure-openai/client/inference/schema/chat-completion-response-format.js.map +0 -1
  236. package/dist/azure-openai/client/inference/schema/chat-completion-response-object.d.ts +0 -5
  237. package/dist/azure-openai/client/inference/schema/chat-completion-response-object.d.ts.map +0 -1
  238. package/dist/azure-openai/client/inference/schema/chat-completion-response-object.js +0 -7
  239. package/dist/azure-openai/client/inference/schema/chat-completion-response-object.js.map +0 -1
  240. package/dist/azure-openai/client/inference/schema/chat-completion-tool-type.d.ts +0 -5
  241. package/dist/azure-openai/client/inference/schema/chat-completion-tool-type.d.ts.map +0 -1
  242. package/dist/azure-openai/client/inference/schema/chat-completion-tool-type.js +0 -7
  243. package/dist/azure-openai/client/inference/schema/chat-completion-tool-type.js.map +0 -1
  244. package/dist/azure-openai/client/inference/schema/chat-completions-response-common.d.ts +0 -27
  245. package/dist/azure-openai/client/inference/schema/chat-completions-response-common.d.ts.map +0 -1
  246. package/dist/azure-openai/client/inference/schema/chat-completions-response-common.js +0 -2
  247. package/dist/azure-openai/client/inference/schema/chat-completions-response-common.js.map +0 -1
  248. package/dist/azure-openai/client/inference/schema/image-detail-level.d.ts +0 -6
  249. package/dist/azure-openai/client/inference/schema/image-detail-level.d.ts.map +0 -1
  250. package/dist/azure-openai/client/inference/schema/image-detail-level.js +0 -7
  251. package/dist/azure-openai/client/inference/schema/image-detail-level.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * @internal
3
3
  */
4
- export const apiVersion = '2024-06-01';
4
+ export const apiVersion = '2024-10-21';
5
5
  //# sourceMappingURL=model-types.js.map
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export type { AzureOpenAiChatModel, AzureOpenAiEmbeddingModel, AzureOpenAiEmbeddingParameters, AzureOpenAiEmbeddingOutput } from './azure-openai/index.js';
2
2
  export { AzureOpenAiChatClient, AzureOpenAiEmbeddingClient, AzureOpenAiChatCompletionResponse, AzureOpenAiEmbeddingResponse, AzureOpenAiChatCompletionStreamChunkResponse, AzureOpenAiChatCompletionStreamResponse, AzureOpenAiChatCompletionStream } from './azure-openai/index.js';
3
- export type { AzureOpenAiCreateChatCompletionRequest, AzureOpenAiChatCompletionsRequestCommon, AzureOpenAiChatCompletionRequestMessage, AzureOpenAiChatCompletionRequestMessageRole, AzureOpenAiAzureChatExtensionConfiguration, AzureOpenAiAzureChatExtensionType, AzureOpenAiChatCompletionResponseFormat, AzureOpenAiChatCompletionTool, AzureOpenAiChatCompletionToolType, AzureOpenAiChatCompletionFunctionParameters, AzureOpenAiChatCompletionToolChoiceOption, AzureOpenAiChatCompletionNamedToolChoice, AzureOpenAiChatCompletionFunction, AzureOpenAiChatCompletionRequestMessageSystem, AzureOpenAiChatCompletionRequestMessageUser, AzureOpenAiChatCompletionRequestMessageAssistant, AzureOpenAiChatCompletionRequestMessageTool, AzureOpenAiChatCompletionMessageToolCall, AzureOpenAiAzureChatExtensionsMessageContext, AzureOpenAiToolCallType, AzureOpenAiCitation, AzureOpenAiChatCompletionRequestMessageFunction, AzureOpenAiChatCompletionRequestMessageContentPart, AzureOpenAiChatCompletionRequestMessageContentPartType, AzureOpenAiCreateChatCompletionResponse, AzureOpenAiChatCompletionsResponseCommon, AzureOpenAiPromptFilterResults, AzureOpenAiPromptFilterResult, AzureOpenAiContentFilterPromptResults, AzureOpenAiContentFilterResultsBase, AzureOpenAiContentFilterSeverityResult, AzureOpenAiContentFilterDetectedResult, AzureOpenAiError, AzureOpenAiErrorBase, AzureOpenAiInnerError, AzureOpenAiInnerErrorCode, AzureOpenAiChatCompletionChoiceCommon, AzureOpenAiChatCompletionResponseMessage, AzureOpenAiContentFilterChoiceResults, AzureOpenAiChatCompletionChoiceLogProbs, AzureOpenAiChatCompletionResponseMessageRole, AzureOpenAiChatCompletionFunctionCall, AzureOpenAiContentFilterDetectedWithCitationResult, AzureOpenAiChatCompletionTokenLogprob, AzureOpenAiCompletionUsage, AzureOpenAiChatCompletionResponseObject } from './azure-openai/client/inference/schema/index.js';
3
+ export type * from './azure-openai/client/inference/schema/index.js';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,oBAAoB,EACpB,yBAAyB,EACzB,8BAA8B,EAC9B,0BAA0B,EAC3B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC1B,iCAAiC,EACjC,4BAA4B,EAC5B,4CAA4C,EAC5C,uCAAuC,EACvC,+BAA+B,EAChC,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EACV,sCAAsC,EACtC,uCAAuC,EACvC,uCAAuC,EACvC,2CAA2C,EAC3C,0CAA0C,EAC1C,iCAAiC,EACjC,uCAAuC,EACvC,6BAA6B,EAC7B,iCAAiC,EACjC,2CAA2C,EAC3C,yCAAyC,EACzC,wCAAwC,EACxC,iCAAiC,EACjC,6CAA6C,EAC7C,2CAA2C,EAC3C,gDAAgD,EAChD,2CAA2C,EAC3C,wCAAwC,EACxC,4CAA4C,EAC5C,uBAAuB,EACvB,mBAAmB,EACnB,+CAA+C,EAC/C,kDAAkD,EAClD,sDAAsD,EACtD,uCAAuC,EACvC,wCAAwC,EACxC,8BAA8B,EAC9B,6BAA6B,EAC7B,qCAAqC,EACrC,mCAAmC,EACnC,sCAAsC,EACtC,sCAAsC,EACtC,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EACzB,qCAAqC,EACrC,wCAAwC,EACxC,qCAAqC,EACrC,uCAAuC,EACvC,4CAA4C,EAC5C,qCAAqC,EACrC,kDAAkD,EAClD,qCAAqC,EACrC,0BAA0B,EAC1B,uCAAuC,EACxC,MAAM,iDAAiD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,oBAAoB,EACpB,yBAAyB,EACzB,8BAA8B,EAC9B,0BAA0B,EAC3B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC1B,iCAAiC,EACjC,4BAA4B,EAC5B,4CAA4C,EAC5C,uCAAuC,EACvC,+BAA+B,EAChC,MAAM,yBAAyB,CAAC;AAEjC,mBAAmB,iDAAiD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ai-sdk/foundation-models",
3
- "version": "1.6.1-20250115013059.0",
3
+ "version": "1.6.1-20250116013044.0",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -23,8 +23,8 @@
23
23
  "@sap-cloud-sdk/http-client": "^3.25.0",
24
24
  "@sap-cloud-sdk/util": "^3.25.0",
25
25
  "@sap-cloud-sdk/connectivity": "^3.25.0",
26
- "@sap-ai-sdk/ai-api": "^1.6.1-20250115013059.0",
27
- "@sap-ai-sdk/core": "^1.6.1-20250115013059.0"
26
+ "@sap-ai-sdk/ai-api": "^1.6.1-20250116013044.0",
27
+ "@sap-ai-sdk/core": "^1.6.1-20250116013044.0"
28
28
  },
29
29
  "scripts": {
30
30
  "compile": "tsc",
@@ -33,7 +33,8 @@
33
33
  "lint": "eslint \"**/*.ts\" && prettier . --config ../../.prettierrc --ignore-path ../../.prettierignore -c",
34
34
  "lint:fix": "eslint \"**/*.ts\" --fix && prettier . --config ../../.prettierrc --ignore-path ../../.prettierignore -w --log-level error",
35
35
  "generate": "pnpm generate:azure-openai",
36
- "generate:azure-openai": "openapi-generator --generateESM --clearOutputDir -i ./src/azure-openai/spec/inference.yaml -o ./src/azure-openai/client --schemaPrefix AzureOpenAi",
36
+ "pregenerate:azure-openai": "cp ./src/azure-openai/spec/inference.json ./src/azure-openai/spec/inference.json.bak && pnpm node-jq \"walk(if type == \\\"object\\\" then (if has(\\\"x-ms-examples\\\") then del(.[\\\"x-ms-examples\\\"]) else . end) else . end)\" ./src/azure-openai/spec/inference.json.bak > ./src/azure-openai/spec/inference.json && rm -f ./src/azure-openai/spec/inference.json.bak",
37
+ "generate:azure-openai": "cd ./src/azure-openai/spec && openapi-generator --generateESM --clearOutputDir -i ./inference.json -o ../client --schemaPrefix AzureOpenAi && cd ..",
37
38
  "postgenerate:azure-openai": "rm ./src/azure-openai/client/inference/*.ts && pnpm lint:fix"
38
39
  }
39
40
  }
@@ -1,5 +0,0 @@
1
- /**
2
- * The parameters the functions accepts, described as a JSON Schema object. See the [guide](/docs/guides/gpt/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
3
- */
4
- export type AzureOpenAiChatCompletionFunctionParameters = Record<string, any>;
5
- //# sourceMappingURL=chat-completion-function-parameters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-function-parameters.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-function-parameters.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,2CAA2C,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,7 +0,0 @@
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
- */
6
- export {};
7
- //# sourceMappingURL=chat-completion-function-parameters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-function-parameters.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-function-parameters.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,16 +0,0 @@
1
- import type { AzureOpenAiChatCompletionFunctionParameters } from './chat-completion-function-parameters.js';
2
- /**
3
- * Representation of the 'AzureOpenAiChatCompletionFunction' schema.
4
- */
5
- export type AzureOpenAiChatCompletionFunction = {
6
- /**
7
- * The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
8
- */
9
- name: string;
10
- /**
11
- * The description of what the function does.
12
- */
13
- description?: string;
14
- parameters?: AzureOpenAiChatCompletionFunctionParameters;
15
- } & Record<string, any>;
16
- //# sourceMappingURL=chat-completion-function.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-function.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-function.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,0CAA0C,CAAC;AAC5G;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,2CAA2C,CAAC;CAC1D,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=chat-completion-function.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-function.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-function.ts"],"names":[],"mappings":""}
@@ -1,19 +0,0 @@
1
- import type { AzureOpenAiChatCompletionMessageToolCall } from './chat-completion-message-tool-call.js';
2
- import type { AzureOpenAiAzureChatExtensionsMessageContext } from './azure-chat-extensions-message-context.js';
3
- /**
4
- * Representation of the 'AzureOpenAiChatCompletionRequestMessageAssistant' schema.
5
- */
6
- export type AzureOpenAiChatCompletionRequestMessageAssistant = {
7
- role: string;
8
- } & {
9
- /**
10
- * The contents of the message.
11
- */
12
- content: string | null;
13
- /**
14
- * The tool calls generated by the model, such as function calls.
15
- */
16
- tool_calls?: AzureOpenAiChatCompletionMessageToolCall[];
17
- context?: AzureOpenAiAzureChatExtensionsMessageContext;
18
- } & Record<string, any>;
19
- //# sourceMappingURL=chat-completion-request-message-assistant.d.ts.map
@@ -1 +0,0 @@
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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=chat-completion-request-message-assistant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-request-message-assistant.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-assistant.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- /**
2
- * The type of the content part.
3
- */
4
- export type AzureOpenAiChatCompletionRequestMessageContentPartType = 'text' | 'image_url';
5
- //# sourceMappingURL=chat-completion-request-message-content-part-type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-request-message-content-part-type.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-type.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,sDAAsD,GAC9D,MAAM,GACN,WAAW,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-request-message-content-part-type.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-type.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,11 +0,0 @@
1
- import type { AzureOpenAiChatCompletionRequestMessageContentPartText } from './chat-completion-request-message-content-part-text.js';
2
- import type { AzureOpenAiChatCompletionRequestMessageContentPartImage } from './chat-completion-request-message-content-part-image.js';
3
- /**
4
- * Representation of the 'AzureOpenAiChatCompletionRequestMessageContentPart' schema.
5
- */
6
- export type AzureOpenAiChatCompletionRequestMessageContentPart = ({
7
- type: 'text';
8
- } & AzureOpenAiChatCompletionRequestMessageContentPartText) | ({
9
- type: 'image_url';
10
- } & AzureOpenAiChatCompletionRequestMessageContentPartImage);
11
- //# sourceMappingURL=chat-completion-request-message-content-part.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-request-message-content-part.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sDAAsD,EAAE,MAAM,wDAAwD,CAAC;AACrI,OAAO,KAAK,EAAE,uDAAuD,EAAE,MAAM,yDAAyD,CAAC;AACvI;;GAEG;AACH,MAAM,MAAM,kDAAkD,GAC1D,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,sDAAsD,CAAC,GAC3E,CAAC;IACC,IAAI,EAAE,WAAW,CAAC;CACnB,GAAG,uDAAuD,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=chat-completion-request-message-content-part.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-request-message-content-part.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- /**
2
- * The role of the messages author.
3
- */
4
- export type AzureOpenAiChatCompletionRequestMessageRole = 'system' | 'user' | 'assistant' | 'tool' | 'function';
5
- //# sourceMappingURL=chat-completion-request-message-role.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-request-message-role.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-role.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,2CAA2C,GACnD,QAAQ,GACR,MAAM,GACN,WAAW,GACX,MAAM,GACN,UAAU,CAAC"}
@@ -1,7 +0,0 @@
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
- */
6
- export {};
7
- //# sourceMappingURL=chat-completion-request-message-role.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-request-message-role.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-role.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,12 +0,0 @@
1
- /**
2
- * Representation of the 'AzureOpenAiChatCompletionRequestMessageSystem' schema.
3
- */
4
- export type AzureOpenAiChatCompletionRequestMessageSystem = {
5
- role: string;
6
- } & {
7
- /**
8
- * The contents of the message.
9
- */
10
- content: string | null;
11
- } & Record<string, any>;
12
- //# sourceMappingURL=chat-completion-request-message-system.d.ts.map
@@ -1 +0,0 @@
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,7 +0,0 @@
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
- */
6
- export {};
7
- //# sourceMappingURL=chat-completion-request-message-system.js.map
@@ -1 +0,0 @@
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,10 +0,0 @@
1
- import type { AzureOpenAiChatCompletionRequestMessageContentPart } from './chat-completion-request-message-content-part.js';
2
- /**
3
- * Representation of the 'AzureOpenAiChatCompletionRequestMessageUser' schema.
4
- */
5
- export type AzureOpenAiChatCompletionRequestMessageUser = {
6
- role: string;
7
- } & {
8
- content: string | AzureOpenAiChatCompletionRequestMessageContentPart[] | null;
9
- } & Record<string, any>;
10
- //# sourceMappingURL=chat-completion-request-message-user.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=chat-completion-request-message-user.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-request-message-user.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-user.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- /**
2
- * Setting to `json_object` enables JSON mode. This guarantees that the message the model generates is valid JSON.
3
- * @example "json_object"
4
- * Default: "text".
5
- */
6
- export type AzureOpenAiChatCompletionResponseFormat = 'text' | 'json_object' | null;
7
- //# sourceMappingURL=chat-completion-response-format.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-response-format.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-response-format.ts"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,MAAM,MAAM,uCAAuC,GAC/C,MAAM,GACN,aAAa,GACb,IAAI,CAAC"}
@@ -1,7 +0,0 @@
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
- */
6
- export {};
7
- //# sourceMappingURL=chat-completion-response-format.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-response-format.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-response-format.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,5 +0,0 @@
1
- /**
2
- * The object type.
3
- */
4
- export type AzureOpenAiChatCompletionResponseObject = 'chat.completion';
5
- //# sourceMappingURL=chat-completion-response-object.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-response-object.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-response-object.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,uCAAuC,GAAG,iBAAiB,CAAC"}
@@ -1,7 +0,0 @@
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
- */
6
- export {};
7
- //# sourceMappingURL=chat-completion-response-object.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-response-object.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-response-object.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,5 +0,0 @@
1
- /**
2
- * The type of the tool. Currently, only `function` is supported.
3
- */
4
- export type AzureOpenAiChatCompletionToolType = 'function';
5
- //# sourceMappingURL=chat-completion-tool-type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-tool-type.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-tool-type.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG,UAAU,CAAC"}
@@ -1,7 +0,0 @@
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
- */
6
- export {};
7
- //# sourceMappingURL=chat-completion-tool-type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completion-tool-type.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-tool-type.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,27 +0,0 @@
1
- import type { AzureOpenAiChatCompletionResponseObject } from './chat-completion-response-object.js';
2
- import type { AzureOpenAiCompletionUsage } from './completion-usage.js';
3
- /**
4
- * Representation of the 'AzureOpenAiChatCompletionsResponseCommon' schema.
5
- */
6
- export type AzureOpenAiChatCompletionsResponseCommon = {
7
- /**
8
- * A unique identifier for the chat completion.
9
- */
10
- id: string;
11
- object: AzureOpenAiChatCompletionResponseObject;
12
- /**
13
- * The Unix timestamp (in seconds) of when the chat completion was created.
14
- * Format: "unixtime".
15
- */
16
- created: number;
17
- /**
18
- * The model used for the chat completion.
19
- */
20
- model: string;
21
- usage?: AzureOpenAiCompletionUsage;
22
- /**
23
- * Can be used in conjunction with the `seed` request parameter to understand when backend changes have been made that might impact determinism.
24
- */
25
- system_fingerprint?: string;
26
- } & Record<string, any>;
27
- //# sourceMappingURL=chat-completions-response-common.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completions-response-common.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completions-response-common.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AACpG,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACxE;;GAEG;AACH,MAAM,MAAM,wCAAwC,GAAG;IACrD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,uCAAuC,CAAC;IAChD;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,0BAA0B,CAAC;IACnC;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=chat-completions-response-common.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-completions-response-common.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completions-response-common.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- /**
2
- * Specifies the detail level of the image.
3
- * Default: "auto".
4
- */
5
- export type AzureOpenAiImageDetailLevel = 'auto' | 'low' | 'high';
6
- //# sourceMappingURL=image-detail-level.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"image-detail-level.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/image-detail-level.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,MAAM,MAAM,2BAA2B,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC"}
@@ -1,7 +0,0 @@
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
- */
6
- export {};
7
- //# sourceMappingURL=image-detail-level.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"image-detail-level.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/image-detail-level.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}