oci-generativeaiinference 2.122.2 → 2.123.1

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 (325) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +1 -1
  3. package/lib/client.d.ts +1 -1
  4. package/lib/client.js +1 -1
  5. package/lib/model/annotation.d.ts +1 -1
  6. package/lib/model/annotation.js +1 -1
  7. package/lib/model/apply-guardrails-details.d.ts +1 -1
  8. package/lib/model/apply-guardrails-details.js +1 -1
  9. package/lib/model/apply-guardrails-result.d.ts +1 -1
  10. package/lib/model/apply-guardrails-result.js +1 -1
  11. package/lib/model/approximate-location.d.ts +1 -1
  12. package/lib/model/approximate-location.js +1 -1
  13. package/lib/model/assistant-message.d.ts +5 -1
  14. package/lib/model/assistant-message.js +1 -1
  15. package/lib/model/assistant-message.js.map +1 -1
  16. package/lib/model/audio-content.d.ts +1 -1
  17. package/lib/model/audio-content.js +1 -1
  18. package/lib/model/audio-url.d.ts +1 -1
  19. package/lib/model/audio-url.js +1 -1
  20. package/lib/model/base-chat-request.d.ts +1 -1
  21. package/lib/model/base-chat-request.js +5 -1
  22. package/lib/model/base-chat-request.js.map +1 -1
  23. package/lib/model/base-chat-response.d.ts +1 -1
  24. package/lib/model/base-chat-response.js +5 -1
  25. package/lib/model/base-chat-response.js.map +1 -1
  26. package/lib/model/category-score.d.ts +1 -1
  27. package/lib/model/category-score.js +1 -1
  28. package/lib/model/chat-choice.d.ts +1 -1
  29. package/lib/model/chat-choice.js +1 -1
  30. package/lib/model/chat-content.d.ts +1 -1
  31. package/lib/model/chat-content.js +5 -1
  32. package/lib/model/chat-content.js.map +1 -1
  33. package/lib/model/chat-details.d.ts +2 -2
  34. package/lib/model/chat-details.js +1 -1
  35. package/lib/model/chat-result.d.ts +2 -2
  36. package/lib/model/chat-result.js +1 -1
  37. package/lib/model/choice.d.ts +1 -1
  38. package/lib/model/choice.js +1 -1
  39. package/lib/model/citation-options-v2.d.ts +38 -0
  40. package/lib/model/citation-options-v2.js +42 -0
  41. package/lib/model/citation-options-v2.js.map +1 -0
  42. package/lib/model/citation.d.ts +1 -1
  43. package/lib/model/citation.js +1 -1
  44. package/lib/model/cohere-assistant-message-v2.d.ts +43 -0
  45. package/lib/model/cohere-assistant-message-v2.js +83 -0
  46. package/lib/model/cohere-assistant-message-v2.js.map +1 -0
  47. package/lib/model/cohere-chat-bot-message.d.ts +1 -1
  48. package/lib/model/cohere-chat-bot-message.js +1 -1
  49. package/lib/model/cohere-chat-request-v2.d.ts +142 -0
  50. package/lib/model/cohere-chat-request-v2.js +114 -0
  51. package/lib/model/cohere-chat-request-v2.js.map +1 -0
  52. package/lib/model/cohere-chat-request.d.ts +1 -1
  53. package/lib/model/cohere-chat-request.js +1 -1
  54. package/lib/model/cohere-chat-response-v2.d.ts +61 -0
  55. package/lib/model/cohere-chat-response-v2.js +90 -0
  56. package/lib/model/cohere-chat-response-v2.js.map +1 -0
  57. package/lib/model/cohere-chat-response.d.ts +1 -1
  58. package/lib/model/cohere-chat-response.js +1 -1
  59. package/lib/model/cohere-citation-document.d.ts +36 -0
  60. package/lib/model/cohere-citation-document.js +36 -0
  61. package/lib/model/cohere-citation-document.js.map +1 -0
  62. package/lib/model/cohere-citation-source-v2.d.ts +44 -0
  63. package/lib/model/cohere-citation-source-v2.js +74 -0
  64. package/lib/model/cohere-citation-source-v2.js.map +1 -0
  65. package/lib/model/cohere-citation-tool-v2.d.ts +36 -0
  66. package/lib/model/cohere-citation-tool-v2.js +36 -0
  67. package/lib/model/cohere-citation-tool-v2.js.map +1 -0
  68. package/lib/model/cohere-citation-v2.d.ts +63 -0
  69. package/lib/model/cohere-citation-v2.js +79 -0
  70. package/lib/model/cohere-citation-v2.js.map +1 -0
  71. package/lib/model/cohere-content-v2.d.ts +29 -0
  72. package/lib/model/cohere-content-v2.js +87 -0
  73. package/lib/model/cohere-content-v2.js.map +1 -0
  74. package/lib/model/cohere-document-content-v2.d.ts +35 -0
  75. package/lib/model/cohere-document-content-v2.js +61 -0
  76. package/lib/model/cohere-document-content-v2.js.map +1 -0
  77. package/lib/model/cohere-image-content-v2.d.ts +32 -0
  78. package/lib/model/cohere-image-content-v2.js +65 -0
  79. package/lib/model/cohere-image-content-v2.js.map +1 -0
  80. package/lib/model/cohere-image-url-v2.d.ts +46 -0
  81. package/lib/model/cohere-image-url-v2.js +47 -0
  82. package/lib/model/cohere-image-url-v2.js.map +1 -0
  83. package/lib/model/cohere-llm-inference-request.d.ts +1 -1
  84. package/lib/model/cohere-llm-inference-request.js +1 -1
  85. package/lib/model/cohere-llm-inference-response.d.ts +1 -1
  86. package/lib/model/cohere-llm-inference-response.js +1 -1
  87. package/lib/model/cohere-message-v2.d.ts +34 -0
  88. package/lib/model/cohere-message-v2.js +99 -0
  89. package/lib/model/cohere-message-v2.js.map +1 -0
  90. package/lib/model/cohere-message.d.ts +1 -1
  91. package/lib/model/cohere-message.js +1 -1
  92. package/lib/model/cohere-parameter-definition.d.ts +1 -1
  93. package/lib/model/cohere-parameter-definition.js +1 -1
  94. package/lib/model/cohere-response-format.d.ts +1 -1
  95. package/lib/model/cohere-response-format.js +1 -1
  96. package/lib/model/cohere-response-json-format.d.ts +1 -1
  97. package/lib/model/cohere-response-json-format.js +1 -1
  98. package/lib/model/cohere-response-text-format.d.ts +1 -1
  99. package/lib/model/cohere-response-text-format.js +1 -1
  100. package/lib/model/cohere-system-message-v2.d.ts +31 -0
  101. package/lib/model/cohere-system-message-v2.js +59 -0
  102. package/lib/model/cohere-system-message-v2.js.map +1 -0
  103. package/lib/model/cohere-system-message.d.ts +1 -1
  104. package/lib/model/cohere-system-message.js +1 -1
  105. package/lib/model/cohere-text-content-v2.d.ts +35 -0
  106. package/lib/model/cohere-text-content-v2.js +59 -0
  107. package/lib/model/cohere-text-content-v2.js.map +1 -0
  108. package/lib/model/cohere-thinking-content-v2.d.ts +35 -0
  109. package/lib/model/cohere-thinking-content-v2.js +61 -0
  110. package/lib/model/cohere-thinking-content-v2.js.map +1 -0
  111. package/lib/model/cohere-thinking-v2.d.ts +40 -0
  112. package/lib/model/cohere-thinking-v2.js +41 -0
  113. package/lib/model/cohere-thinking-v2.js.map +1 -0
  114. package/lib/model/cohere-tool-call-v2.d.ts +48 -0
  115. package/lib/model/cohere-tool-call-v2.js +45 -0
  116. package/lib/model/cohere-tool-call-v2.js.map +1 -0
  117. package/lib/model/cohere-tool-call.d.ts +1 -1
  118. package/lib/model/cohere-tool-call.js +1 -1
  119. package/lib/model/cohere-tool-message-v2.d.ts +35 -0
  120. package/lib/model/cohere-tool-message-v2.js +59 -0
  121. package/lib/model/cohere-tool-message-v2.js.map +1 -0
  122. package/lib/model/cohere-tool-message.d.ts +1 -1
  123. package/lib/model/cohere-tool-message.js +1 -1
  124. package/lib/model/cohere-tool-result.d.ts +1 -1
  125. package/lib/model/cohere-tool-result.js +1 -1
  126. package/lib/model/cohere-tool-v2.d.ts +37 -0
  127. package/lib/model/cohere-tool-v2.js +64 -0
  128. package/lib/model/cohere-tool-v2.js.map +1 -0
  129. package/lib/model/cohere-tool.d.ts +1 -1
  130. package/lib/model/cohere-tool.js +1 -1
  131. package/lib/model/cohere-user-message-v2.d.ts +31 -0
  132. package/lib/model/cohere-user-message-v2.js +59 -0
  133. package/lib/model/cohere-user-message-v2.js.map +1 -0
  134. package/lib/model/cohere-user-message.d.ts +1 -1
  135. package/lib/model/cohere-user-message.js +1 -1
  136. package/lib/model/completion-tokens-details.d.ts +1 -1
  137. package/lib/model/completion-tokens-details.js +1 -1
  138. package/lib/model/content-moderation-configuration.d.ts +1 -1
  139. package/lib/model/content-moderation-configuration.js +1 -1
  140. package/lib/model/content-moderation-result.d.ts +1 -1
  141. package/lib/model/content-moderation-result.js +1 -1
  142. package/lib/model/dedicated-serving-mode.d.ts +1 -1
  143. package/lib/model/dedicated-serving-mode.js +1 -1
  144. package/lib/model/developer-message.d.ts +1 -1
  145. package/lib/model/developer-message.js +1 -1
  146. package/lib/model/document-content.d.ts +32 -0
  147. package/lib/model/document-content.js +65 -0
  148. package/lib/model/document-content.js.map +1 -0
  149. package/lib/model/document-rank.d.ts +1 -1
  150. package/lib/model/document-rank.js +1 -1
  151. package/lib/model/document-url.d.ts +63 -0
  152. package/lib/model/document-url.js +47 -0
  153. package/lib/model/document-url.js.map +1 -0
  154. package/lib/model/document.d.ts +1 -1
  155. package/lib/model/document.js +1 -1
  156. package/lib/model/embed-text-details.d.ts +17 -1
  157. package/lib/model/embed-text-details.js +10 -1
  158. package/lib/model/embed-text-details.js.map +1 -1
  159. package/lib/model/embed-text-result.d.ts +6 -2
  160. package/lib/model/embed-text-result.js +1 -1
  161. package/lib/model/embed-text-result.js.map +1 -1
  162. package/lib/model/function-call.d.ts +1 -1
  163. package/lib/model/function-call.js +1 -1
  164. package/lib/model/function-definition.d.ts +1 -1
  165. package/lib/model/function-definition.js +1 -1
  166. package/lib/model/function.d.ts +40 -0
  167. package/lib/model/function.js +36 -0
  168. package/lib/model/function.js.map +1 -0
  169. package/lib/model/generate-text-details.d.ts +1 -1
  170. package/lib/model/generate-text-details.js +1 -1
  171. package/lib/model/generate-text-result.d.ts +1 -1
  172. package/lib/model/generate-text-result.js +1 -1
  173. package/lib/model/generated-text.d.ts +1 -1
  174. package/lib/model/generated-text.js +1 -1
  175. package/lib/model/generic-chat-request.d.ts +2 -1
  176. package/lib/model/generic-chat-request.js +2 -1
  177. package/lib/model/generic-chat-request.js.map +1 -1
  178. package/lib/model/generic-chat-response.d.ts +1 -1
  179. package/lib/model/generic-chat-response.js +1 -1
  180. package/lib/model/grounding-chunk.d.ts +1 -1
  181. package/lib/model/grounding-chunk.js +1 -1
  182. package/lib/model/grounding-metadata.d.ts +1 -1
  183. package/lib/model/grounding-metadata.js +1 -1
  184. package/lib/model/grounding-support-segment.d.ts +1 -1
  185. package/lib/model/grounding-support-segment.js +1 -1
  186. package/lib/model/grounding-support.d.ts +1 -1
  187. package/lib/model/grounding-support.js +1 -1
  188. package/lib/model/grounding-web-chunk.d.ts +1 -1
  189. package/lib/model/grounding-web-chunk.js +1 -1
  190. package/lib/model/guardrail-configs.d.ts +1 -1
  191. package/lib/model/guardrail-configs.js +1 -1
  192. package/lib/model/guardrails-input.d.ts +1 -1
  193. package/lib/model/guardrails-input.js +1 -1
  194. package/lib/model/guardrails-results.d.ts +1 -1
  195. package/lib/model/guardrails-results.js +1 -1
  196. package/lib/model/guardrails-text-input.d.ts +1 -1
  197. package/lib/model/guardrails-text-input.js +1 -1
  198. package/lib/model/image-content.d.ts +1 -1
  199. package/lib/model/image-content.js +1 -1
  200. package/lib/model/image-url.d.ts +1 -1
  201. package/lib/model/image-url.js +1 -1
  202. package/lib/model/index.d.ts +51 -1
  203. package/lib/model/index.js +54 -4
  204. package/lib/model/index.js.map +1 -1
  205. package/lib/model/json-object-response-format.d.ts +1 -1
  206. package/lib/model/json-object-response-format.js +1 -1
  207. package/lib/model/json-schema-response-format.d.ts +1 -1
  208. package/lib/model/json-schema-response-format.js +1 -1
  209. package/lib/model/llama-llm-inference-request.d.ts +1 -1
  210. package/lib/model/llama-llm-inference-request.js +1 -1
  211. package/lib/model/llama-llm-inference-response.d.ts +1 -1
  212. package/lib/model/llama-llm-inference-response.js +1 -1
  213. package/lib/model/llm-inference-request.d.ts +1 -1
  214. package/lib/model/llm-inference-request.js +1 -1
  215. package/lib/model/llm-inference-response.d.ts +1 -1
  216. package/lib/model/llm-inference-response.js +1 -1
  217. package/lib/model/log-probability.d.ts +40 -0
  218. package/lib/model/log-probability.js +36 -0
  219. package/lib/model/log-probability.js.map +1 -0
  220. package/lib/model/logprobs.d.ts +1 -1
  221. package/lib/model/logprobs.js +1 -1
  222. package/lib/model/message.d.ts +1 -1
  223. package/lib/model/message.js +1 -1
  224. package/lib/model/on-demand-serving-mode.d.ts +1 -1
  225. package/lib/model/on-demand-serving-mode.js +1 -1
  226. package/lib/model/personally-identifiable-information-configuration.d.ts +1 -1
  227. package/lib/model/personally-identifiable-information-configuration.js +1 -1
  228. package/lib/model/personally-identifiable-information-result.d.ts +1 -1
  229. package/lib/model/personally-identifiable-information-result.js +1 -1
  230. package/lib/model/prediction.d.ts +1 -1
  231. package/lib/model/prediction.js +1 -1
  232. package/lib/model/prompt-injection-configuration.d.ts +1 -1
  233. package/lib/model/prompt-injection-configuration.js +1 -1
  234. package/lib/model/prompt-injection-protection-result.d.ts +1 -1
  235. package/lib/model/prompt-injection-protection-result.js +1 -1
  236. package/lib/model/prompt-tokens-details.d.ts +1 -1
  237. package/lib/model/prompt-tokens-details.js +1 -1
  238. package/lib/model/rerank-text-details.d.ts +5 -1
  239. package/lib/model/rerank-text-details.js +1 -1
  240. package/lib/model/rerank-text-details.js.map +1 -1
  241. package/lib/model/rerank-text-result.d.ts +1 -1
  242. package/lib/model/rerank-text-result.js +1 -1
  243. package/lib/model/response-format.d.ts +1 -1
  244. package/lib/model/response-format.js +1 -1
  245. package/lib/model/response-json-schema.d.ts +1 -1
  246. package/lib/model/response-json-schema.js +1 -1
  247. package/lib/model/search-entry-point.d.ts +1 -1
  248. package/lib/model/search-entry-point.js +1 -1
  249. package/lib/model/search-query.d.ts +1 -1
  250. package/lib/model/search-query.js +1 -1
  251. package/lib/model/serving-mode.d.ts +1 -1
  252. package/lib/model/serving-mode.js +1 -1
  253. package/lib/model/static-content.d.ts +1 -1
  254. package/lib/model/static-content.js +1 -1
  255. package/lib/model/stream-options.d.ts +1 -1
  256. package/lib/model/stream-options.js +1 -1
  257. package/lib/model/summarize-text-details.d.ts +1 -1
  258. package/lib/model/summarize-text-details.js +1 -1
  259. package/lib/model/summarize-text-result.d.ts +1 -1
  260. package/lib/model/summarize-text-result.js +1 -1
  261. package/lib/model/system-message.d.ts +1 -1
  262. package/lib/model/system-message.js +1 -1
  263. package/lib/model/text-content.d.ts +1 -1
  264. package/lib/model/text-content.js +1 -1
  265. package/lib/model/text-response-format.d.ts +1 -1
  266. package/lib/model/text-response-format.js +1 -1
  267. package/lib/model/token-likelihood.d.ts +1 -1
  268. package/lib/model/token-likelihood.js +1 -1
  269. package/lib/model/tool-call.d.ts +1 -1
  270. package/lib/model/tool-call.js +1 -1
  271. package/lib/model/tool-choice-auto.d.ts +1 -1
  272. package/lib/model/tool-choice-auto.js +1 -1
  273. package/lib/model/tool-choice-function.d.ts +1 -1
  274. package/lib/model/tool-choice-function.js +1 -1
  275. package/lib/model/tool-choice-none.d.ts +1 -1
  276. package/lib/model/tool-choice-none.js +1 -1
  277. package/lib/model/tool-choice-required.d.ts +1 -1
  278. package/lib/model/tool-choice-required.js +1 -1
  279. package/lib/model/tool-choice.d.ts +1 -1
  280. package/lib/model/tool-choice.js +1 -1
  281. package/lib/model/tool-definition.d.ts +1 -1
  282. package/lib/model/tool-definition.js +1 -1
  283. package/lib/model/tool-message.d.ts +1 -1
  284. package/lib/model/tool-message.js +1 -1
  285. package/lib/model/url-citation.d.ts +1 -1
  286. package/lib/model/url-citation.js +1 -1
  287. package/lib/model/usage.d.ts +1 -1
  288. package/lib/model/usage.js +1 -1
  289. package/lib/model/user-message.d.ts +1 -1
  290. package/lib/model/user-message.js +1 -1
  291. package/lib/model/video-content.d.ts +1 -1
  292. package/lib/model/video-content.js +1 -1
  293. package/lib/model/video-url.d.ts +1 -1
  294. package/lib/model/video-url.js +1 -1
  295. package/lib/model/web-search-options.d.ts +1 -1
  296. package/lib/model/web-search-options.js +1 -1
  297. package/lib/request/apply-guardrails-request.d.ts +1 -1
  298. package/lib/request/apply-guardrails-request.js +1 -1
  299. package/lib/request/chat-request.d.ts +1 -1
  300. package/lib/request/chat-request.js +1 -1
  301. package/lib/request/embed-text-request.d.ts +1 -1
  302. package/lib/request/embed-text-request.js +1 -1
  303. package/lib/request/generate-text-request.d.ts +1 -1
  304. package/lib/request/generate-text-request.js +1 -1
  305. package/lib/request/index.d.ts +1 -1
  306. package/lib/request/index.js +1 -1
  307. package/lib/request/rerank-text-request.d.ts +1 -1
  308. package/lib/request/rerank-text-request.js +1 -1
  309. package/lib/request/summarize-text-request.d.ts +1 -1
  310. package/lib/request/summarize-text-request.js +1 -1
  311. package/lib/response/apply-guardrails-response.d.ts +1 -1
  312. package/lib/response/apply-guardrails-response.js +1 -1
  313. package/lib/response/chat-response.d.ts +1 -1
  314. package/lib/response/chat-response.js +1 -1
  315. package/lib/response/embed-text-response.d.ts +1 -1
  316. package/lib/response/embed-text-response.js +1 -1
  317. package/lib/response/generate-text-response.d.ts +1 -1
  318. package/lib/response/generate-text-response.js +1 -1
  319. package/lib/response/index.d.ts +1 -1
  320. package/lib/response/index.js +1 -1
  321. package/lib/response/rerank-text-response.d.ts +1 -1
  322. package/lib/response/rerank-text-response.js +1 -1
  323. package/lib/response/summarize-text-response.d.ts +1 -1
  324. package/lib/response/summarize-text-response.js +1 -1
  325. package/package.json +3 -3
@@ -14,7 +14,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
14
14
  * NOTE: This class is auto generated by OracleSDKGenerator.
15
15
  * Do not edit the class manually.
16
16
  *
17
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
18
18
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19
19
  */
20
20
  import * as model from "../model";
@@ -15,7 +15,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
15
15
  * NOTE: This class is auto generated by OracleSDKGenerator.
16
16
  * Do not edit the class manually.
17
17
  *
18
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
19
19
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
20
20
  */
21
21
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -14,7 +14,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
14
14
  * NOTE: This class is auto generated by OracleSDKGenerator.
15
15
  * Do not edit the class manually.
16
16
  *
17
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
18
18
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19
19
  */
20
20
  import * as model from "../model";
@@ -15,7 +15,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
15
15
  * NOTE: This class is auto generated by OracleSDKGenerator.
16
16
  * Do not edit the class manually.
17
17
  *
18
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
19
19
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
20
20
  */
21
21
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -14,7 +14,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
14
14
  * NOTE: This class is auto generated by OracleSDKGenerator.
15
15
  * Do not edit the class manually.
16
16
  *
17
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
18
18
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19
19
  */
20
20
  import * as model from "../model";
@@ -15,7 +15,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
15
15
  * NOTE: This class is auto generated by OracleSDKGenerator.
16
16
  * Do not edit the class manually.
17
17
  *
18
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
19
19
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
20
20
  */
21
21
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -14,7 +14,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
14
14
  * NOTE: This class is auto generated by OracleSDKGenerator.
15
15
  * Do not edit the class manually.
16
16
  *
17
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
18
18
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19
19
  */
20
20
  /**
@@ -15,7 +15,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
15
15
  * NOTE: This class is auto generated by OracleSDKGenerator.
16
16
  * Do not edit the class manually.
17
17
  *
18
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
19
19
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
20
20
  */
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -14,7 +14,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
14
14
  * NOTE: This class is auto generated by OracleSDKGenerator.
15
15
  * Do not edit the class manually.
16
16
  *
17
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
18
18
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19
19
  */
20
20
  import * as Annotation from "./annotation";
@@ -45,18 +45,40 @@ import * as Choice from "./choice";
45
45
  export import Choice = Choice.Choice;
46
46
  import * as Citation from "./citation";
47
47
  export import Citation = Citation.Citation;
48
+ import * as CitationOptionsV2 from "./citation-options-v2";
49
+ export import CitationOptionsV2 = CitationOptionsV2.CitationOptionsV2;
50
+ import * as CohereCitationDocument from "./cohere-citation-document";
51
+ export import CohereCitationDocument = CohereCitationDocument.CohereCitationDocument;
52
+ import * as CohereCitationSourceV2 from "./cohere-citation-source-v2";
53
+ export import CohereCitationSourceV2 = CohereCitationSourceV2.CohereCitationSourceV2;
54
+ import * as CohereCitationToolV2 from "./cohere-citation-tool-v2";
55
+ export import CohereCitationToolV2 = CohereCitationToolV2.CohereCitationToolV2;
56
+ import * as CohereCitationV2 from "./cohere-citation-v2";
57
+ export import CohereCitationV2 = CohereCitationV2.CohereCitationV2;
58
+ import * as CohereContentV2 from "./cohere-content-v2";
59
+ export import CohereContentV2 = CohereContentV2.CohereContentV2;
60
+ import * as CohereImageUrlV2 from "./cohere-image-url-v2";
61
+ export import CohereImageUrlV2 = CohereImageUrlV2.CohereImageUrlV2;
48
62
  import * as CohereMessage from "./cohere-message";
49
63
  export import CohereMessage = CohereMessage.CohereMessage;
64
+ import * as CohereMessageV2 from "./cohere-message-v2";
65
+ export import CohereMessageV2 = CohereMessageV2.CohereMessageV2;
50
66
  import * as CohereParameterDefinition from "./cohere-parameter-definition";
51
67
  export import CohereParameterDefinition = CohereParameterDefinition.CohereParameterDefinition;
52
68
  import * as CohereResponseFormat from "./cohere-response-format";
53
69
  export import CohereResponseFormat = CohereResponseFormat.CohereResponseFormat;
70
+ import * as CohereThinkingV2 from "./cohere-thinking-v2";
71
+ export import CohereThinkingV2 = CohereThinkingV2.CohereThinkingV2;
54
72
  import * as CohereTool from "./cohere-tool";
55
73
  export import CohereTool = CohereTool.CohereTool;
56
74
  import * as CohereToolCall from "./cohere-tool-call";
57
75
  export import CohereToolCall = CohereToolCall.CohereToolCall;
76
+ import * as CohereToolCallV2 from "./cohere-tool-call-v2";
77
+ export import CohereToolCallV2 = CohereToolCallV2.CohereToolCallV2;
58
78
  import * as CohereToolResult from "./cohere-tool-result";
59
79
  export import CohereToolResult = CohereToolResult.CohereToolResult;
80
+ import * as CohereToolV2 from "./cohere-tool-v2";
81
+ export import CohereToolV2 = CohereToolV2.CohereToolV2;
60
82
  import * as CompletionTokensDetails from "./completion-tokens-details";
61
83
  export import CompletionTokensDetails = CompletionTokensDetails.CompletionTokensDetails;
62
84
  import * as ContentModerationConfiguration from "./content-moderation-configuration";
@@ -67,10 +89,14 @@ import * as Document from "./document";
67
89
  export import Document = Document.Document;
68
90
  import * as DocumentRank from "./document-rank";
69
91
  export import DocumentRank = DocumentRank.DocumentRank;
92
+ import * as DocumentUrl from "./document-url";
93
+ export import DocumentUrl = DocumentUrl.DocumentUrl;
70
94
  import * as EmbedTextDetails from "./embed-text-details";
71
95
  export import EmbedTextDetails = EmbedTextDetails.EmbedTextDetails;
72
96
  import * as EmbedTextResult from "./embed-text-result";
73
97
  export import EmbedTextResult = EmbedTextResult.EmbedTextResult;
98
+ import * as Function from "./function";
99
+ export import Function = Function.Function;
74
100
  import * as GenerateTextDetails from "./generate-text-details";
75
101
  export import GenerateTextDetails = GenerateTextDetails.GenerateTextDetails;
76
102
  import * as GenerateTextResult from "./generate-text-result";
@@ -99,6 +125,8 @@ import * as LlmInferenceRequest from "./llm-inference-request";
99
125
  export import LlmInferenceRequest = LlmInferenceRequest.LlmInferenceRequest;
100
126
  import * as LlmInferenceResponse from "./llm-inference-response";
101
127
  export import LlmInferenceResponse = LlmInferenceResponse.LlmInferenceResponse;
128
+ import * as LogProbability from "./log-probability";
129
+ export import LogProbability = LogProbability.LogProbability;
102
130
  import * as Logprobs from "./logprobs";
103
131
  export import Logprobs = Logprobs.Logprobs;
104
132
  import * as Message from "./message";
@@ -155,12 +183,22 @@ import * as AssistantMessage from "./assistant-message";
155
183
  export import AssistantMessage = AssistantMessage.AssistantMessage;
156
184
  import * as AudioContent from "./audio-content";
157
185
  export import AudioContent = AudioContent.AudioContent;
186
+ import * as CohereAssistantMessageV2 from "./cohere-assistant-message-v2";
187
+ export import CohereAssistantMessageV2 = CohereAssistantMessageV2.CohereAssistantMessageV2;
158
188
  import * as CohereChatBotMessage from "./cohere-chat-bot-message";
159
189
  export import CohereChatBotMessage = CohereChatBotMessage.CohereChatBotMessage;
160
190
  import * as CohereChatRequest from "./cohere-chat-request";
161
191
  export import CohereChatRequest = CohereChatRequest.CohereChatRequest;
192
+ import * as CohereChatRequestV2 from "./cohere-chat-request-v2";
193
+ export import CohereChatRequestV2 = CohereChatRequestV2.CohereChatRequestV2;
162
194
  import * as CohereChatResponse from "./cohere-chat-response";
163
195
  export import CohereChatResponse = CohereChatResponse.CohereChatResponse;
196
+ import * as CohereChatResponseV2 from "./cohere-chat-response-v2";
197
+ export import CohereChatResponseV2 = CohereChatResponseV2.CohereChatResponseV2;
198
+ import * as CohereDocumentContentV2 from "./cohere-document-content-v2";
199
+ export import CohereDocumentContentV2 = CohereDocumentContentV2.CohereDocumentContentV2;
200
+ import * as CohereImageContentV2 from "./cohere-image-content-v2";
201
+ export import CohereImageContentV2 = CohereImageContentV2.CohereImageContentV2;
164
202
  import * as CohereLlmInferenceRequest from "./cohere-llm-inference-request";
165
203
  export import CohereLlmInferenceRequest = CohereLlmInferenceRequest.CohereLlmInferenceRequest;
166
204
  import * as CohereLlmInferenceResponse from "./cohere-llm-inference-response";
@@ -171,14 +209,26 @@ import * as CohereResponseTextFormat from "./cohere-response-text-format";
171
209
  export import CohereResponseTextFormat = CohereResponseTextFormat.CohereResponseTextFormat;
172
210
  import * as CohereSystemMessage from "./cohere-system-message";
173
211
  export import CohereSystemMessage = CohereSystemMessage.CohereSystemMessage;
212
+ import * as CohereSystemMessageV2 from "./cohere-system-message-v2";
213
+ export import CohereSystemMessageV2 = CohereSystemMessageV2.CohereSystemMessageV2;
214
+ import * as CohereTextContentV2 from "./cohere-text-content-v2";
215
+ export import CohereTextContentV2 = CohereTextContentV2.CohereTextContentV2;
216
+ import * as CohereThinkingContentV2 from "./cohere-thinking-content-v2";
217
+ export import CohereThinkingContentV2 = CohereThinkingContentV2.CohereThinkingContentV2;
174
218
  import * as CohereToolMessage from "./cohere-tool-message";
175
219
  export import CohereToolMessage = CohereToolMessage.CohereToolMessage;
220
+ import * as CohereToolMessageV2 from "./cohere-tool-message-v2";
221
+ export import CohereToolMessageV2 = CohereToolMessageV2.CohereToolMessageV2;
176
222
  import * as CohereUserMessage from "./cohere-user-message";
177
223
  export import CohereUserMessage = CohereUserMessage.CohereUserMessage;
224
+ import * as CohereUserMessageV2 from "./cohere-user-message-v2";
225
+ export import CohereUserMessageV2 = CohereUserMessageV2.CohereUserMessageV2;
178
226
  import * as DedicatedServingMode from "./dedicated-serving-mode";
179
227
  export import DedicatedServingMode = DedicatedServingMode.DedicatedServingMode;
180
228
  import * as DeveloperMessage from "./developer-message";
181
229
  export import DeveloperMessage = DeveloperMessage.DeveloperMessage;
230
+ import * as DocumentContent from "./document-content";
231
+ export import DocumentContent = DocumentContent.DocumentContent;
182
232
  import * as FunctionCall from "./function-call";
183
233
  export import FunctionCall = FunctionCall.FunctionCall;
184
234
  import * as FunctionDefinition from "./function-definition";
@@ -15,7 +15,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
15
15
  * NOTE: This class is auto generated by OracleSDKGenerator.
16
16
  * Do not edit the class manually.
17
17
  *
18
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
19
19
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
20
20
  */
21
21
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -38,9 +38,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
38
38
  return result;
39
39
  };
40
40
  Object.defineProperty(exports, "__esModule", { value: true });
41
- exports.RerankTextDetails = exports.PromptTokensDetails = exports.PromptInjectionProtectionResult = exports.PromptInjectionConfiguration = exports.Prediction = exports.PersonallyIdentifiableInformationResult = exports.PersonallyIdentifiableInformationConfiguration = exports.Message = exports.Logprobs = exports.LlmInferenceResponse = exports.LlmInferenceRequest = exports.ImageUrl = exports.GuardrailsResults = exports.GuardrailsInput = exports.GuardrailConfigs = exports.GroundingWebChunk = exports.GroundingSupportSegment = exports.GroundingSupport = exports.GroundingMetadata = exports.GroundingChunk = exports.GeneratedText = exports.GenerateTextResult = exports.GenerateTextDetails = exports.EmbedTextResult = exports.EmbedTextDetails = exports.DocumentRank = exports.Document = exports.ContentModerationResult = exports.ContentModerationConfiguration = exports.CompletionTokensDetails = exports.CohereToolResult = exports.CohereToolCall = exports.CohereTool = exports.CohereResponseFormat = exports.CohereParameterDefinition = exports.CohereMessage = exports.Citation = exports.Choice = exports.ChatResult = exports.ChatDetails = exports.ChatContent = exports.ChatChoice = exports.CategoryScore = exports.BaseChatResponse = exports.BaseChatRequest = exports.AudioUrl = exports.ApproximateLocation = exports.ApplyGuardrailsResult = exports.ApplyGuardrailsDetails = exports.Annotation = void 0;
42
- exports.ToolChoiceRequired = exports.ToolChoiceNone = exports.ToolChoiceFunction = exports.ToolChoiceAuto = exports.TextResponseFormat = exports.TextContent = exports.SystemMessage = exports.StaticContent = exports.OnDemandServingMode = exports.LlamaLlmInferenceResponse = exports.LlamaLlmInferenceRequest = exports.JsonSchemaResponseFormat = exports.JsonObjectResponseFormat = exports.ImageContent = exports.GuardrailsTextInput = exports.GenericChatResponse = exports.GenericChatRequest = exports.FunctionDefinition = exports.FunctionCall = exports.DeveloperMessage = exports.DedicatedServingMode = exports.CohereUserMessage = exports.CohereToolMessage = exports.CohereSystemMessage = exports.CohereResponseTextFormat = exports.CohereResponseJsonFormat = exports.CohereLlmInferenceResponse = exports.CohereLlmInferenceRequest = exports.CohereChatResponse = exports.CohereChatRequest = exports.CohereChatBotMessage = exports.AudioContent = exports.AssistantMessage = exports.WebSearchOptions = exports.VideoUrl = exports.Usage = exports.UrlCitation = exports.ToolDefinition = exports.ToolChoice = exports.ToolCall = exports.TokenLikelihood = exports.SummarizeTextResult = exports.SummarizeTextDetails = exports.StreamOptions = exports.ServingMode = exports.SearchQuery = exports.SearchEntryPoint = exports.ResponseJsonSchema = exports.ResponseFormat = exports.RerankTextResult = void 0;
43
- exports.VideoContent = exports.UserMessage = exports.ToolMessage = void 0;
41
+ exports.GuardrailsInput = exports.GuardrailConfigs = exports.GroundingWebChunk = exports.GroundingSupportSegment = exports.GroundingSupport = exports.GroundingMetadata = exports.GroundingChunk = exports.GeneratedText = exports.GenerateTextResult = exports.GenerateTextDetails = exports.Function = exports.EmbedTextResult = exports.EmbedTextDetails = exports.DocumentUrl = exports.DocumentRank = exports.Document = exports.ContentModerationResult = exports.ContentModerationConfiguration = exports.CompletionTokensDetails = exports.CohereToolV2 = exports.CohereToolResult = exports.CohereToolCallV2 = exports.CohereToolCall = exports.CohereTool = exports.CohereThinkingV2 = exports.CohereResponseFormat = exports.CohereParameterDefinition = exports.CohereMessageV2 = exports.CohereMessage = exports.CohereImageUrlV2 = exports.CohereContentV2 = exports.CohereCitationV2 = exports.CohereCitationToolV2 = exports.CohereCitationSourceV2 = exports.CohereCitationDocument = exports.CitationOptionsV2 = exports.Citation = exports.Choice = exports.ChatResult = exports.ChatDetails = exports.ChatContent = exports.ChatChoice = exports.CategoryScore = exports.BaseChatResponse = exports.BaseChatRequest = exports.AudioUrl = exports.ApproximateLocation = exports.ApplyGuardrailsResult = exports.ApplyGuardrailsDetails = exports.Annotation = void 0;
42
+ exports.CohereToolMessage = exports.CohereThinkingContentV2 = exports.CohereTextContentV2 = exports.CohereSystemMessageV2 = exports.CohereSystemMessage = exports.CohereResponseTextFormat = exports.CohereResponseJsonFormat = exports.CohereLlmInferenceResponse = exports.CohereLlmInferenceRequest = exports.CohereImageContentV2 = exports.CohereDocumentContentV2 = exports.CohereChatResponseV2 = exports.CohereChatResponse = exports.CohereChatRequestV2 = exports.CohereChatRequest = exports.CohereChatBotMessage = exports.CohereAssistantMessageV2 = exports.AudioContent = exports.AssistantMessage = exports.WebSearchOptions = exports.VideoUrl = exports.Usage = exports.UrlCitation = exports.ToolDefinition = exports.ToolChoice = exports.ToolCall = exports.TokenLikelihood = exports.SummarizeTextResult = exports.SummarizeTextDetails = exports.StreamOptions = exports.ServingMode = exports.SearchQuery = exports.SearchEntryPoint = exports.ResponseJsonSchema = exports.ResponseFormat = exports.RerankTextResult = exports.RerankTextDetails = exports.PromptTokensDetails = exports.PromptInjectionProtectionResult = exports.PromptInjectionConfiguration = exports.Prediction = exports.PersonallyIdentifiableInformationResult = exports.PersonallyIdentifiableInformationConfiguration = exports.Message = exports.Logprobs = exports.LogProbability = exports.LlmInferenceResponse = exports.LlmInferenceRequest = exports.ImageUrl = exports.GuardrailsResults = void 0;
43
+ exports.VideoContent = exports.UserMessage = exports.ToolMessage = exports.ToolChoiceRequired = exports.ToolChoiceNone = exports.ToolChoiceFunction = exports.ToolChoiceAuto = exports.TextResponseFormat = exports.TextContent = exports.SystemMessage = exports.StaticContent = exports.OnDemandServingMode = exports.LlamaLlmInferenceResponse = exports.LlamaLlmInferenceRequest = exports.JsonSchemaResponseFormat = exports.JsonObjectResponseFormat = exports.ImageContent = exports.GuardrailsTextInput = exports.GenericChatResponse = exports.GenericChatRequest = exports.FunctionDefinition = exports.FunctionCall = exports.DocumentContent = exports.DeveloperMessage = exports.DedicatedServingMode = exports.CohereUserMessageV2 = exports.CohereUserMessage = exports.CohereToolMessageV2 = void 0;
44
44
  const Annotation = __importStar(require("./annotation"));
45
45
  exports.Annotation = Annotation.Annotation;
46
46
  const ApplyGuardrailsDetails = __importStar(require("./apply-guardrails-details"));
@@ -69,18 +69,40 @@ const Choice = __importStar(require("./choice"));
69
69
  exports.Choice = Choice.Choice;
70
70
  const Citation = __importStar(require("./citation"));
71
71
  exports.Citation = Citation.Citation;
72
+ const CitationOptionsV2 = __importStar(require("./citation-options-v2"));
73
+ exports.CitationOptionsV2 = CitationOptionsV2.CitationOptionsV2;
74
+ const CohereCitationDocument = __importStar(require("./cohere-citation-document"));
75
+ exports.CohereCitationDocument = CohereCitationDocument.CohereCitationDocument;
76
+ const CohereCitationSourceV2 = __importStar(require("./cohere-citation-source-v2"));
77
+ exports.CohereCitationSourceV2 = CohereCitationSourceV2.CohereCitationSourceV2;
78
+ const CohereCitationToolV2 = __importStar(require("./cohere-citation-tool-v2"));
79
+ exports.CohereCitationToolV2 = CohereCitationToolV2.CohereCitationToolV2;
80
+ const CohereCitationV2 = __importStar(require("./cohere-citation-v2"));
81
+ exports.CohereCitationV2 = CohereCitationV2.CohereCitationV2;
82
+ const CohereContentV2 = __importStar(require("./cohere-content-v2"));
83
+ exports.CohereContentV2 = CohereContentV2.CohereContentV2;
84
+ const CohereImageUrlV2 = __importStar(require("./cohere-image-url-v2"));
85
+ exports.CohereImageUrlV2 = CohereImageUrlV2.CohereImageUrlV2;
72
86
  const CohereMessage = __importStar(require("./cohere-message"));
73
87
  exports.CohereMessage = CohereMessage.CohereMessage;
88
+ const CohereMessageV2 = __importStar(require("./cohere-message-v2"));
89
+ exports.CohereMessageV2 = CohereMessageV2.CohereMessageV2;
74
90
  const CohereParameterDefinition = __importStar(require("./cohere-parameter-definition"));
75
91
  exports.CohereParameterDefinition = CohereParameterDefinition.CohereParameterDefinition;
76
92
  const CohereResponseFormat = __importStar(require("./cohere-response-format"));
77
93
  exports.CohereResponseFormat = CohereResponseFormat.CohereResponseFormat;
94
+ const CohereThinkingV2 = __importStar(require("./cohere-thinking-v2"));
95
+ exports.CohereThinkingV2 = CohereThinkingV2.CohereThinkingV2;
78
96
  const CohereTool = __importStar(require("./cohere-tool"));
79
97
  exports.CohereTool = CohereTool.CohereTool;
80
98
  const CohereToolCall = __importStar(require("./cohere-tool-call"));
81
99
  exports.CohereToolCall = CohereToolCall.CohereToolCall;
100
+ const CohereToolCallV2 = __importStar(require("./cohere-tool-call-v2"));
101
+ exports.CohereToolCallV2 = CohereToolCallV2.CohereToolCallV2;
82
102
  const CohereToolResult = __importStar(require("./cohere-tool-result"));
83
103
  exports.CohereToolResult = CohereToolResult.CohereToolResult;
104
+ const CohereToolV2 = __importStar(require("./cohere-tool-v2"));
105
+ exports.CohereToolV2 = CohereToolV2.CohereToolV2;
84
106
  const CompletionTokensDetails = __importStar(require("./completion-tokens-details"));
85
107
  exports.CompletionTokensDetails = CompletionTokensDetails.CompletionTokensDetails;
86
108
  const ContentModerationConfiguration = __importStar(require("./content-moderation-configuration"));
@@ -91,10 +113,14 @@ const Document = __importStar(require("./document"));
91
113
  exports.Document = Document.Document;
92
114
  const DocumentRank = __importStar(require("./document-rank"));
93
115
  exports.DocumentRank = DocumentRank.DocumentRank;
116
+ const DocumentUrl = __importStar(require("./document-url"));
117
+ exports.DocumentUrl = DocumentUrl.DocumentUrl;
94
118
  const EmbedTextDetails = __importStar(require("./embed-text-details"));
95
119
  exports.EmbedTextDetails = EmbedTextDetails.EmbedTextDetails;
96
120
  const EmbedTextResult = __importStar(require("./embed-text-result"));
97
121
  exports.EmbedTextResult = EmbedTextResult.EmbedTextResult;
122
+ const Function = __importStar(require("./function"));
123
+ exports.Function = Function.Function;
98
124
  const GenerateTextDetails = __importStar(require("./generate-text-details"));
99
125
  exports.GenerateTextDetails = GenerateTextDetails.GenerateTextDetails;
100
126
  const GenerateTextResult = __importStar(require("./generate-text-result"));
@@ -123,6 +149,8 @@ const LlmInferenceRequest = __importStar(require("./llm-inference-request"));
123
149
  exports.LlmInferenceRequest = LlmInferenceRequest.LlmInferenceRequest;
124
150
  const LlmInferenceResponse = __importStar(require("./llm-inference-response"));
125
151
  exports.LlmInferenceResponse = LlmInferenceResponse.LlmInferenceResponse;
152
+ const LogProbability = __importStar(require("./log-probability"));
153
+ exports.LogProbability = LogProbability.LogProbability;
126
154
  const Logprobs = __importStar(require("./logprobs"));
127
155
  exports.Logprobs = Logprobs.Logprobs;
128
156
  const Message = __importStar(require("./message"));
@@ -179,12 +207,22 @@ const AssistantMessage = __importStar(require("./assistant-message"));
179
207
  exports.AssistantMessage = AssistantMessage.AssistantMessage;
180
208
  const AudioContent = __importStar(require("./audio-content"));
181
209
  exports.AudioContent = AudioContent.AudioContent;
210
+ const CohereAssistantMessageV2 = __importStar(require("./cohere-assistant-message-v2"));
211
+ exports.CohereAssistantMessageV2 = CohereAssistantMessageV2.CohereAssistantMessageV2;
182
212
  const CohereChatBotMessage = __importStar(require("./cohere-chat-bot-message"));
183
213
  exports.CohereChatBotMessage = CohereChatBotMessage.CohereChatBotMessage;
184
214
  const CohereChatRequest = __importStar(require("./cohere-chat-request"));
185
215
  exports.CohereChatRequest = CohereChatRequest.CohereChatRequest;
216
+ const CohereChatRequestV2 = __importStar(require("./cohere-chat-request-v2"));
217
+ exports.CohereChatRequestV2 = CohereChatRequestV2.CohereChatRequestV2;
186
218
  const CohereChatResponse = __importStar(require("./cohere-chat-response"));
187
219
  exports.CohereChatResponse = CohereChatResponse.CohereChatResponse;
220
+ const CohereChatResponseV2 = __importStar(require("./cohere-chat-response-v2"));
221
+ exports.CohereChatResponseV2 = CohereChatResponseV2.CohereChatResponseV2;
222
+ const CohereDocumentContentV2 = __importStar(require("./cohere-document-content-v2"));
223
+ exports.CohereDocumentContentV2 = CohereDocumentContentV2.CohereDocumentContentV2;
224
+ const CohereImageContentV2 = __importStar(require("./cohere-image-content-v2"));
225
+ exports.CohereImageContentV2 = CohereImageContentV2.CohereImageContentV2;
188
226
  const CohereLlmInferenceRequest = __importStar(require("./cohere-llm-inference-request"));
189
227
  exports.CohereLlmInferenceRequest = CohereLlmInferenceRequest.CohereLlmInferenceRequest;
190
228
  const CohereLlmInferenceResponse = __importStar(require("./cohere-llm-inference-response"));
@@ -195,14 +233,26 @@ const CohereResponseTextFormat = __importStar(require("./cohere-response-text-fo
195
233
  exports.CohereResponseTextFormat = CohereResponseTextFormat.CohereResponseTextFormat;
196
234
  const CohereSystemMessage = __importStar(require("./cohere-system-message"));
197
235
  exports.CohereSystemMessage = CohereSystemMessage.CohereSystemMessage;
236
+ const CohereSystemMessageV2 = __importStar(require("./cohere-system-message-v2"));
237
+ exports.CohereSystemMessageV2 = CohereSystemMessageV2.CohereSystemMessageV2;
238
+ const CohereTextContentV2 = __importStar(require("./cohere-text-content-v2"));
239
+ exports.CohereTextContentV2 = CohereTextContentV2.CohereTextContentV2;
240
+ const CohereThinkingContentV2 = __importStar(require("./cohere-thinking-content-v2"));
241
+ exports.CohereThinkingContentV2 = CohereThinkingContentV2.CohereThinkingContentV2;
198
242
  const CohereToolMessage = __importStar(require("./cohere-tool-message"));
199
243
  exports.CohereToolMessage = CohereToolMessage.CohereToolMessage;
244
+ const CohereToolMessageV2 = __importStar(require("./cohere-tool-message-v2"));
245
+ exports.CohereToolMessageV2 = CohereToolMessageV2.CohereToolMessageV2;
200
246
  const CohereUserMessage = __importStar(require("./cohere-user-message"));
201
247
  exports.CohereUserMessage = CohereUserMessage.CohereUserMessage;
248
+ const CohereUserMessageV2 = __importStar(require("./cohere-user-message-v2"));
249
+ exports.CohereUserMessageV2 = CohereUserMessageV2.CohereUserMessageV2;
202
250
  const DedicatedServingMode = __importStar(require("./dedicated-serving-mode"));
203
251
  exports.DedicatedServingMode = DedicatedServingMode.DedicatedServingMode;
204
252
  const DeveloperMessage = __importStar(require("./developer-message"));
205
253
  exports.DeveloperMessage = DeveloperMessage.DeveloperMessage;
254
+ const DocumentContent = __importStar(require("./document-content"));
255
+ exports.DocumentContent = DocumentContent.DocumentContent;
206
256
  const FunctionCall = __importStar(require("./function-call"));
207
257
  exports.FunctionCall = FunctionCall.FunctionCall;
208
258
  const FunctionDefinition = __importStar(require("./function-definition"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/generativeaiinference/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;;;AAEH,yDAA2C;AAC7B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,mFAAqE;AACvD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AACrF,iFAAmE;AACrD,QAAA,qBAAqB,GAAG,qBAAqB,CAAC,qBAAqB,CAAC;AAClF,4EAA8D;AAChD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,sDAAwC;AAC1B,QAAA,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC;AAC3C,qEAAuD;AACzC,QAAA,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC;AAChE,uEAAyD;AAC3C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,gEAAkD;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;AAC1D,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,4DAA8C;AAChC,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,4DAA8C;AAChC,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,iDAAmC;AACrB,QAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACrC,qDAAuC;AACzB,QAAA,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC;AAC3C,gEAAkD;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;AAC1D,yFAA2E;AAC7D,QAAA,yBAAyB,GAAG,yBAAyB,CAAC,yBAAyB,CAAC;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C,YAAY,CAAC"}
@@ -14,7 +14,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
14
14
  * NOTE: This class is auto generated by OracleSDKGenerator.
15
15
  * Do not edit the class manually.
16
16
  *
17
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
18
18
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19
19
  */
20
20
  import * as model from "../model";
@@ -15,7 +15,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
15
15
  * NOTE: This class is auto generated by OracleSDKGenerator.
16
16
  * Do not edit the class manually.
17
17
  *
18
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
19
19
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
20
20
  */
21
21
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -14,7 +14,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
14
14
  * NOTE: This class is auto generated by OracleSDKGenerator.
15
15
  * Do not edit the class manually.
16
16
  *
17
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
18
18
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19
19
  */
20
20
  import * as model from "../model";
@@ -15,7 +15,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
15
15
  * NOTE: This class is auto generated by OracleSDKGenerator.
16
16
  * Do not edit the class manually.
17
17
  *
18
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
19
19
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
20
20
  */
21
21
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -14,7 +14,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
14
14
  * NOTE: This class is auto generated by OracleSDKGenerator.
15
15
  * Do not edit the class manually.
16
16
  *
17
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
18
18
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19
19
  */
20
20
  import * as model from "../model";
@@ -15,7 +15,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
15
15
  * NOTE: This class is auto generated by OracleSDKGenerator.
16
16
  * Do not edit the class manually.
17
17
  *
18
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
19
19
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
20
20
  */
21
21
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -14,7 +14,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
14
14
  * NOTE: This class is auto generated by OracleSDKGenerator.
15
15
  * Do not edit the class manually.
16
16
  *
17
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
18
18
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19
19
  */
20
20
  import * as model from "../model";
@@ -15,7 +15,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
15
15
  * NOTE: This class is auto generated by OracleSDKGenerator.
16
16
  * Do not edit the class manually.
17
17
  *
18
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
19
19
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
20
20
  */
21
21
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -14,7 +14,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
14
14
  * NOTE: This class is auto generated by OracleSDKGenerator.
15
15
  * Do not edit the class manually.
16
16
  *
17
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
18
18
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19
19
  */
20
20
  /**
@@ -15,7 +15,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
15
15
  * NOTE: This class is auto generated by OracleSDKGenerator.
16
16
  * Do not edit the class manually.
17
17
  *
18
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
19
19
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
20
20
  */
21
21
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -14,7 +14,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
14
14
  * NOTE: This class is auto generated by OracleSDKGenerator.
15
15
  * Do not edit the class manually.
16
16
  *
17
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
18
18
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19
19
  */
20
20
  /**
@@ -15,7 +15,7 @@ To learn more about the service, see the [Generative AI documentation](https://d
15
15
  * NOTE: This class is auto generated by OracleSDKGenerator.
16
16
  * Do not edit the class manually.
17
17
  *
18
- * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
18
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
19
19
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
20
20
  */
21
21
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Generative AI Service Inference API
3
+ * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings.
4
+
5
+ Use the Generative AI service inference API to access your custom model endpoints, or to try the out-of-the-box models to {@link #eNGenerative-ai-inferenceLatestChatResultChat(ENGenerative-ai-inferenceLatestChatResultChatRequest) eNGenerative-ai-inferenceLatestChatResultChat}, {@link #eNGenerative-ai-inferenceLatestGenerateTextResultGenerateText(ENGenerative-ai-inferenceLatestGenerateTextResultGenerateTextRequest) eNGenerative-ai-inferenceLatestGenerateTextResultGenerateText}, {@link #eNGenerative-ai-inferenceLatestSummarizeTextResultSummarizeText(ENGenerative-ai-inferenceLatestSummarizeTextResultSummarizeTextRequest) eNGenerative-ai-inferenceLatestSummarizeTextResultSummarizeText}, and {@link #eNGenerative-ai-inferenceLatestEmbedTextResultEmbedText(ENGenerative-ai-inferenceLatestEmbedTextResultEmbedTextRequest) eNGenerative-ai-inferenceLatestEmbedTextResultEmbedText}.
6
+
7
+ To use a Generative AI custom model for inference, you must first create an endpoint for that model. Use the {@link #eNGenerative-aiLatest(ENGenerative-aiLatestRequest) eNGenerative-aiLatest} to {@link #eNGenerative-aiLatestModel(ENGenerative-aiLatestModelRequest) eNGenerative-aiLatestModel} by fine-tuning an out-of-the-box model, or a previous version of a custom model, using your own data. Fine-tune the custom model on a {@link #eNGenerative-aiLatestDedicatedAiCluster(ENGenerative-aiLatestDedicatedAiClusterRequest) eNGenerative-aiLatestDedicatedAiCluster}. Then, create a {@link #eNGenerative-aiLatestDedicatedAiCluster(ENGenerative-aiLatestDedicatedAiClusterRequest) eNGenerative-aiLatestDedicatedAiCluster} with an {@link Endpoint} to host your custom model. For resource management in the Generative AI service, use the {@link #eNGenerative-aiLatest(ENGenerative-aiLatestRequest) eNGenerative-aiLatest}.
8
+
9
+ To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm).
10
+
11
+ * OpenAPI spec version: 20231130
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OracleSDKGenerator.
15
+ * Do not edit the class manually.
16
+ *
17
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
18
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
19
+ */
20
+ /**
21
+ * The log probabilities of the generated tokens.
22
+ */
23
+ export interface LogProbability {
24
+ /**
25
+ * The token ids of each token used to construct the text chunk.
26
+ */
27
+ "tokenIds"?: Array<number>;
28
+ /**
29
+ * The text chunk for which the log probabilities was calculated.
30
+ */
31
+ "text"?: string;
32
+ /**
33
+ * The log probability of each token used to construct the text chunk.
34
+ */
35
+ "logProbabilities"?: Array<number>;
36
+ }
37
+ export declare namespace LogProbability {
38
+ function getJsonObj(obj: LogProbability): object;
39
+ function getDeserializedJsonObj(obj: LogProbability): object;
40
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ /**
3
+ * Generative AI Service Inference API
4
+ * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings.
5
+
6
+ Use the Generative AI service inference API to access your custom model endpoints, or to try the out-of-the-box models to {@link #eNGenerative-ai-inferenceLatestChatResultChat(ENGenerative-ai-inferenceLatestChatResultChatRequest) eNGenerative-ai-inferenceLatestChatResultChat}, {@link #eNGenerative-ai-inferenceLatestGenerateTextResultGenerateText(ENGenerative-ai-inferenceLatestGenerateTextResultGenerateTextRequest) eNGenerative-ai-inferenceLatestGenerateTextResultGenerateText}, {@link #eNGenerative-ai-inferenceLatestSummarizeTextResultSummarizeText(ENGenerative-ai-inferenceLatestSummarizeTextResultSummarizeTextRequest) eNGenerative-ai-inferenceLatestSummarizeTextResultSummarizeText}, and {@link #eNGenerative-ai-inferenceLatestEmbedTextResultEmbedText(ENGenerative-ai-inferenceLatestEmbedTextResultEmbedTextRequest) eNGenerative-ai-inferenceLatestEmbedTextResultEmbedText}.
7
+
8
+ To use a Generative AI custom model for inference, you must first create an endpoint for that model. Use the {@link #eNGenerative-aiLatest(ENGenerative-aiLatestRequest) eNGenerative-aiLatest} to {@link #eNGenerative-aiLatestModel(ENGenerative-aiLatestModelRequest) eNGenerative-aiLatestModel} by fine-tuning an out-of-the-box model, or a previous version of a custom model, using your own data. Fine-tune the custom model on a {@link #eNGenerative-aiLatestDedicatedAiCluster(ENGenerative-aiLatestDedicatedAiClusterRequest) eNGenerative-aiLatestDedicatedAiCluster}. Then, create a {@link #eNGenerative-aiLatestDedicatedAiCluster(ENGenerative-aiLatestDedicatedAiClusterRequest) eNGenerative-aiLatestDedicatedAiCluster} with an {@link Endpoint} to host your custom model. For resource management in the Generative AI service, use the {@link #eNGenerative-aiLatest(ENGenerative-aiLatestRequest) eNGenerative-aiLatest}.
9
+
10
+ To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm).
11
+
12
+ * OpenAPI spec version: 20231130
13
+ *
14
+ *
15
+ * NOTE: This class is auto generated by OracleSDKGenerator.
16
+ * Do not edit the class manually.
17
+ *
18
+ * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
19
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
20
+ */
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.LogProbability = void 0;
23
+ var LogProbability;
24
+ (function (LogProbability) {
25
+ function getJsonObj(obj) {
26
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
27
+ return jsonObj;
28
+ }
29
+ LogProbability.getJsonObj = getJsonObj;
30
+ function getDeserializedJsonObj(obj) {
31
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
32
+ return jsonObj;
33
+ }
34
+ LogProbability.getDeserializedJsonObj = getDeserializedJsonObj;
35
+ })(LogProbability = exports.LogProbability || (exports.LogProbability = {}));
36
+ //# sourceMappingURL=log-probability.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"log-probability.js","sourceRoot":"","sources":["../../../../../lib/generativeaiinference/lib/model/log-probability.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AAuBH,IAAiB,cAAc,CAW9B;AAXD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAW9B"}