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.
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/lib/client.d.ts +1 -1
- package/lib/client.js +1 -1
- package/lib/model/annotation.d.ts +1 -1
- package/lib/model/annotation.js +1 -1
- package/lib/model/apply-guardrails-details.d.ts +1 -1
- package/lib/model/apply-guardrails-details.js +1 -1
- package/lib/model/apply-guardrails-result.d.ts +1 -1
- package/lib/model/apply-guardrails-result.js +1 -1
- package/lib/model/approximate-location.d.ts +1 -1
- package/lib/model/approximate-location.js +1 -1
- package/lib/model/assistant-message.d.ts +5 -1
- package/lib/model/assistant-message.js +1 -1
- package/lib/model/assistant-message.js.map +1 -1
- package/lib/model/audio-content.d.ts +1 -1
- package/lib/model/audio-content.js +1 -1
- package/lib/model/audio-url.d.ts +1 -1
- package/lib/model/audio-url.js +1 -1
- package/lib/model/base-chat-request.d.ts +1 -1
- package/lib/model/base-chat-request.js +5 -1
- package/lib/model/base-chat-request.js.map +1 -1
- package/lib/model/base-chat-response.d.ts +1 -1
- package/lib/model/base-chat-response.js +5 -1
- package/lib/model/base-chat-response.js.map +1 -1
- package/lib/model/category-score.d.ts +1 -1
- package/lib/model/category-score.js +1 -1
- package/lib/model/chat-choice.d.ts +1 -1
- package/lib/model/chat-choice.js +1 -1
- package/lib/model/chat-content.d.ts +1 -1
- package/lib/model/chat-content.js +5 -1
- package/lib/model/chat-content.js.map +1 -1
- package/lib/model/chat-details.d.ts +2 -2
- package/lib/model/chat-details.js +1 -1
- package/lib/model/chat-result.d.ts +2 -2
- package/lib/model/chat-result.js +1 -1
- package/lib/model/choice.d.ts +1 -1
- package/lib/model/choice.js +1 -1
- package/lib/model/citation-options-v2.d.ts +38 -0
- package/lib/model/citation-options-v2.js +42 -0
- package/lib/model/citation-options-v2.js.map +1 -0
- package/lib/model/citation.d.ts +1 -1
- package/lib/model/citation.js +1 -1
- package/lib/model/cohere-assistant-message-v2.d.ts +43 -0
- package/lib/model/cohere-assistant-message-v2.js +83 -0
- package/lib/model/cohere-assistant-message-v2.js.map +1 -0
- package/lib/model/cohere-chat-bot-message.d.ts +1 -1
- package/lib/model/cohere-chat-bot-message.js +1 -1
- package/lib/model/cohere-chat-request-v2.d.ts +142 -0
- package/lib/model/cohere-chat-request-v2.js +114 -0
- package/lib/model/cohere-chat-request-v2.js.map +1 -0
- package/lib/model/cohere-chat-request.d.ts +1 -1
- package/lib/model/cohere-chat-request.js +1 -1
- package/lib/model/cohere-chat-response-v2.d.ts +61 -0
- package/lib/model/cohere-chat-response-v2.js +90 -0
- package/lib/model/cohere-chat-response-v2.js.map +1 -0
- package/lib/model/cohere-chat-response.d.ts +1 -1
- package/lib/model/cohere-chat-response.js +1 -1
- package/lib/model/cohere-citation-document.d.ts +36 -0
- package/lib/model/cohere-citation-document.js +36 -0
- package/lib/model/cohere-citation-document.js.map +1 -0
- package/lib/model/cohere-citation-source-v2.d.ts +44 -0
- package/lib/model/cohere-citation-source-v2.js +74 -0
- package/lib/model/cohere-citation-source-v2.js.map +1 -0
- package/lib/model/cohere-citation-tool-v2.d.ts +36 -0
- package/lib/model/cohere-citation-tool-v2.js +36 -0
- package/lib/model/cohere-citation-tool-v2.js.map +1 -0
- package/lib/model/cohere-citation-v2.d.ts +63 -0
- package/lib/model/cohere-citation-v2.js +79 -0
- package/lib/model/cohere-citation-v2.js.map +1 -0
- package/lib/model/cohere-content-v2.d.ts +29 -0
- package/lib/model/cohere-content-v2.js +87 -0
- package/lib/model/cohere-content-v2.js.map +1 -0
- package/lib/model/cohere-document-content-v2.d.ts +35 -0
- package/lib/model/cohere-document-content-v2.js +61 -0
- package/lib/model/cohere-document-content-v2.js.map +1 -0
- package/lib/model/cohere-image-content-v2.d.ts +32 -0
- package/lib/model/cohere-image-content-v2.js +65 -0
- package/lib/model/cohere-image-content-v2.js.map +1 -0
- package/lib/model/cohere-image-url-v2.d.ts +46 -0
- package/lib/model/cohere-image-url-v2.js +47 -0
- package/lib/model/cohere-image-url-v2.js.map +1 -0
- package/lib/model/cohere-llm-inference-request.d.ts +1 -1
- package/lib/model/cohere-llm-inference-request.js +1 -1
- package/lib/model/cohere-llm-inference-response.d.ts +1 -1
- package/lib/model/cohere-llm-inference-response.js +1 -1
- package/lib/model/cohere-message-v2.d.ts +34 -0
- package/lib/model/cohere-message-v2.js +99 -0
- package/lib/model/cohere-message-v2.js.map +1 -0
- package/lib/model/cohere-message.d.ts +1 -1
- package/lib/model/cohere-message.js +1 -1
- package/lib/model/cohere-parameter-definition.d.ts +1 -1
- package/lib/model/cohere-parameter-definition.js +1 -1
- package/lib/model/cohere-response-format.d.ts +1 -1
- package/lib/model/cohere-response-format.js +1 -1
- package/lib/model/cohere-response-json-format.d.ts +1 -1
- package/lib/model/cohere-response-json-format.js +1 -1
- package/lib/model/cohere-response-text-format.d.ts +1 -1
- package/lib/model/cohere-response-text-format.js +1 -1
- package/lib/model/cohere-system-message-v2.d.ts +31 -0
- package/lib/model/cohere-system-message-v2.js +59 -0
- package/lib/model/cohere-system-message-v2.js.map +1 -0
- package/lib/model/cohere-system-message.d.ts +1 -1
- package/lib/model/cohere-system-message.js +1 -1
- package/lib/model/cohere-text-content-v2.d.ts +35 -0
- package/lib/model/cohere-text-content-v2.js +59 -0
- package/lib/model/cohere-text-content-v2.js.map +1 -0
- package/lib/model/cohere-thinking-content-v2.d.ts +35 -0
- package/lib/model/cohere-thinking-content-v2.js +61 -0
- package/lib/model/cohere-thinking-content-v2.js.map +1 -0
- package/lib/model/cohere-thinking-v2.d.ts +40 -0
- package/lib/model/cohere-thinking-v2.js +41 -0
- package/lib/model/cohere-thinking-v2.js.map +1 -0
- package/lib/model/cohere-tool-call-v2.d.ts +48 -0
- package/lib/model/cohere-tool-call-v2.js +45 -0
- package/lib/model/cohere-tool-call-v2.js.map +1 -0
- package/lib/model/cohere-tool-call.d.ts +1 -1
- package/lib/model/cohere-tool-call.js +1 -1
- package/lib/model/cohere-tool-message-v2.d.ts +35 -0
- package/lib/model/cohere-tool-message-v2.js +59 -0
- package/lib/model/cohere-tool-message-v2.js.map +1 -0
- package/lib/model/cohere-tool-message.d.ts +1 -1
- package/lib/model/cohere-tool-message.js +1 -1
- package/lib/model/cohere-tool-result.d.ts +1 -1
- package/lib/model/cohere-tool-result.js +1 -1
- package/lib/model/cohere-tool-v2.d.ts +37 -0
- package/lib/model/cohere-tool-v2.js +64 -0
- package/lib/model/cohere-tool-v2.js.map +1 -0
- package/lib/model/cohere-tool.d.ts +1 -1
- package/lib/model/cohere-tool.js +1 -1
- package/lib/model/cohere-user-message-v2.d.ts +31 -0
- package/lib/model/cohere-user-message-v2.js +59 -0
- package/lib/model/cohere-user-message-v2.js.map +1 -0
- package/lib/model/cohere-user-message.d.ts +1 -1
- package/lib/model/cohere-user-message.js +1 -1
- package/lib/model/completion-tokens-details.d.ts +1 -1
- package/lib/model/completion-tokens-details.js +1 -1
- package/lib/model/content-moderation-configuration.d.ts +1 -1
- package/lib/model/content-moderation-configuration.js +1 -1
- package/lib/model/content-moderation-result.d.ts +1 -1
- package/lib/model/content-moderation-result.js +1 -1
- package/lib/model/dedicated-serving-mode.d.ts +1 -1
- package/lib/model/dedicated-serving-mode.js +1 -1
- package/lib/model/developer-message.d.ts +1 -1
- package/lib/model/developer-message.js +1 -1
- package/lib/model/document-content.d.ts +32 -0
- package/lib/model/document-content.js +65 -0
- package/lib/model/document-content.js.map +1 -0
- package/lib/model/document-rank.d.ts +1 -1
- package/lib/model/document-rank.js +1 -1
- package/lib/model/document-url.d.ts +63 -0
- package/lib/model/document-url.js +47 -0
- package/lib/model/document-url.js.map +1 -0
- package/lib/model/document.d.ts +1 -1
- package/lib/model/document.js +1 -1
- package/lib/model/embed-text-details.d.ts +17 -1
- package/lib/model/embed-text-details.js +10 -1
- package/lib/model/embed-text-details.js.map +1 -1
- package/lib/model/embed-text-result.d.ts +6 -2
- package/lib/model/embed-text-result.js +1 -1
- package/lib/model/embed-text-result.js.map +1 -1
- package/lib/model/function-call.d.ts +1 -1
- package/lib/model/function-call.js +1 -1
- package/lib/model/function-definition.d.ts +1 -1
- package/lib/model/function-definition.js +1 -1
- package/lib/model/function.d.ts +40 -0
- package/lib/model/function.js +36 -0
- package/lib/model/function.js.map +1 -0
- package/lib/model/generate-text-details.d.ts +1 -1
- package/lib/model/generate-text-details.js +1 -1
- package/lib/model/generate-text-result.d.ts +1 -1
- package/lib/model/generate-text-result.js +1 -1
- package/lib/model/generated-text.d.ts +1 -1
- package/lib/model/generated-text.js +1 -1
- package/lib/model/generic-chat-request.d.ts +2 -1
- package/lib/model/generic-chat-request.js +2 -1
- package/lib/model/generic-chat-request.js.map +1 -1
- package/lib/model/generic-chat-response.d.ts +1 -1
- package/lib/model/generic-chat-response.js +1 -1
- package/lib/model/grounding-chunk.d.ts +1 -1
- package/lib/model/grounding-chunk.js +1 -1
- package/lib/model/grounding-metadata.d.ts +1 -1
- package/lib/model/grounding-metadata.js +1 -1
- package/lib/model/grounding-support-segment.d.ts +1 -1
- package/lib/model/grounding-support-segment.js +1 -1
- package/lib/model/grounding-support.d.ts +1 -1
- package/lib/model/grounding-support.js +1 -1
- package/lib/model/grounding-web-chunk.d.ts +1 -1
- package/lib/model/grounding-web-chunk.js +1 -1
- package/lib/model/guardrail-configs.d.ts +1 -1
- package/lib/model/guardrail-configs.js +1 -1
- package/lib/model/guardrails-input.d.ts +1 -1
- package/lib/model/guardrails-input.js +1 -1
- package/lib/model/guardrails-results.d.ts +1 -1
- package/lib/model/guardrails-results.js +1 -1
- package/lib/model/guardrails-text-input.d.ts +1 -1
- package/lib/model/guardrails-text-input.js +1 -1
- package/lib/model/image-content.d.ts +1 -1
- package/lib/model/image-content.js +1 -1
- package/lib/model/image-url.d.ts +1 -1
- package/lib/model/image-url.js +1 -1
- package/lib/model/index.d.ts +51 -1
- package/lib/model/index.js +54 -4
- package/lib/model/index.js.map +1 -1
- package/lib/model/json-object-response-format.d.ts +1 -1
- package/lib/model/json-object-response-format.js +1 -1
- package/lib/model/json-schema-response-format.d.ts +1 -1
- package/lib/model/json-schema-response-format.js +1 -1
- package/lib/model/llama-llm-inference-request.d.ts +1 -1
- package/lib/model/llama-llm-inference-request.js +1 -1
- package/lib/model/llama-llm-inference-response.d.ts +1 -1
- package/lib/model/llama-llm-inference-response.js +1 -1
- package/lib/model/llm-inference-request.d.ts +1 -1
- package/lib/model/llm-inference-request.js +1 -1
- package/lib/model/llm-inference-response.d.ts +1 -1
- package/lib/model/llm-inference-response.js +1 -1
- package/lib/model/log-probability.d.ts +40 -0
- package/lib/model/log-probability.js +36 -0
- package/lib/model/log-probability.js.map +1 -0
- package/lib/model/logprobs.d.ts +1 -1
- package/lib/model/logprobs.js +1 -1
- package/lib/model/message.d.ts +1 -1
- package/lib/model/message.js +1 -1
- package/lib/model/on-demand-serving-mode.d.ts +1 -1
- package/lib/model/on-demand-serving-mode.js +1 -1
- package/lib/model/personally-identifiable-information-configuration.d.ts +1 -1
- package/lib/model/personally-identifiable-information-configuration.js +1 -1
- package/lib/model/personally-identifiable-information-result.d.ts +1 -1
- package/lib/model/personally-identifiable-information-result.js +1 -1
- package/lib/model/prediction.d.ts +1 -1
- package/lib/model/prediction.js +1 -1
- package/lib/model/prompt-injection-configuration.d.ts +1 -1
- package/lib/model/prompt-injection-configuration.js +1 -1
- package/lib/model/prompt-injection-protection-result.d.ts +1 -1
- package/lib/model/prompt-injection-protection-result.js +1 -1
- package/lib/model/prompt-tokens-details.d.ts +1 -1
- package/lib/model/prompt-tokens-details.js +1 -1
- package/lib/model/rerank-text-details.d.ts +5 -1
- package/lib/model/rerank-text-details.js +1 -1
- package/lib/model/rerank-text-details.js.map +1 -1
- package/lib/model/rerank-text-result.d.ts +1 -1
- package/lib/model/rerank-text-result.js +1 -1
- package/lib/model/response-format.d.ts +1 -1
- package/lib/model/response-format.js +1 -1
- package/lib/model/response-json-schema.d.ts +1 -1
- package/lib/model/response-json-schema.js +1 -1
- package/lib/model/search-entry-point.d.ts +1 -1
- package/lib/model/search-entry-point.js +1 -1
- package/lib/model/search-query.d.ts +1 -1
- package/lib/model/search-query.js +1 -1
- package/lib/model/serving-mode.d.ts +1 -1
- package/lib/model/serving-mode.js +1 -1
- package/lib/model/static-content.d.ts +1 -1
- package/lib/model/static-content.js +1 -1
- package/lib/model/stream-options.d.ts +1 -1
- package/lib/model/stream-options.js +1 -1
- package/lib/model/summarize-text-details.d.ts +1 -1
- package/lib/model/summarize-text-details.js +1 -1
- package/lib/model/summarize-text-result.d.ts +1 -1
- package/lib/model/summarize-text-result.js +1 -1
- package/lib/model/system-message.d.ts +1 -1
- package/lib/model/system-message.js +1 -1
- package/lib/model/text-content.d.ts +1 -1
- package/lib/model/text-content.js +1 -1
- package/lib/model/text-response-format.d.ts +1 -1
- package/lib/model/text-response-format.js +1 -1
- package/lib/model/token-likelihood.d.ts +1 -1
- package/lib/model/token-likelihood.js +1 -1
- package/lib/model/tool-call.d.ts +1 -1
- package/lib/model/tool-call.js +1 -1
- package/lib/model/tool-choice-auto.d.ts +1 -1
- package/lib/model/tool-choice-auto.js +1 -1
- package/lib/model/tool-choice-function.d.ts +1 -1
- package/lib/model/tool-choice-function.js +1 -1
- package/lib/model/tool-choice-none.d.ts +1 -1
- package/lib/model/tool-choice-none.js +1 -1
- package/lib/model/tool-choice-required.d.ts +1 -1
- package/lib/model/tool-choice-required.js +1 -1
- package/lib/model/tool-choice.d.ts +1 -1
- package/lib/model/tool-choice.js +1 -1
- package/lib/model/tool-definition.d.ts +1 -1
- package/lib/model/tool-definition.js +1 -1
- package/lib/model/tool-message.d.ts +1 -1
- package/lib/model/tool-message.js +1 -1
- package/lib/model/url-citation.d.ts +1 -1
- package/lib/model/url-citation.js +1 -1
- package/lib/model/usage.d.ts +1 -1
- package/lib/model/usage.js +1 -1
- package/lib/model/user-message.d.ts +1 -1
- package/lib/model/user-message.js +1 -1
- package/lib/model/video-content.d.ts +1 -1
- package/lib/model/video-content.js +1 -1
- package/lib/model/video-url.d.ts +1 -1
- package/lib/model/video-url.js +1 -1
- package/lib/model/web-search-options.d.ts +1 -1
- package/lib/model/web-search-options.js +1 -1
- package/lib/request/apply-guardrails-request.d.ts +1 -1
- package/lib/request/apply-guardrails-request.js +1 -1
- package/lib/request/chat-request.d.ts +1 -1
- package/lib/request/chat-request.js +1 -1
- package/lib/request/embed-text-request.d.ts +1 -1
- package/lib/request/embed-text-request.js +1 -1
- package/lib/request/generate-text-request.d.ts +1 -1
- package/lib/request/generate-text-request.js +1 -1
- package/lib/request/index.d.ts +1 -1
- package/lib/request/index.js +1 -1
- package/lib/request/rerank-text-request.d.ts +1 -1
- package/lib/request/rerank-text-request.js +1 -1
- package/lib/request/summarize-text-request.d.ts +1 -1
- package/lib/request/summarize-text-request.js +1 -1
- package/lib/response/apply-guardrails-response.d.ts +1 -1
- package/lib/response/apply-guardrails-response.js +1 -1
- package/lib/response/chat-response.d.ts +1 -1
- package/lib/response/chat-response.js +1 -1
- package/lib/response/embed-text-response.d.ts +1 -1
- package/lib/response/embed-text-response.js +1 -1
- package/lib/response/generate-text-response.d.ts +1 -1
- package/lib/response/generate-text-response.js +1 -1
- package/lib/response/index.d.ts +1 -1
- package/lib/response/index.js +1 -1
- package/lib/response/rerank-text-response.d.ts +1 -1
- package/lib/response/rerank-text-response.js +1 -1
- package/lib/response/summarize-text-response.d.ts +1 -1
- package/lib/response/summarize-text-response.js +1 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -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,
|
|
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 requests from "./lib/request";
|
package/index.js
CHANGED
|
@@ -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,
|
|
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) {
|
package/lib/client.d.ts
CHANGED
|
@@ -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,
|
|
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 common = require("oci-common");
|
package/lib/client.js
CHANGED
|
@@ -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,
|
|
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,
|
|
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";
|
package/lib/model/annotation.js
CHANGED
|
@@ -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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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";
|
|
@@ -42,6 +42,10 @@ export interface AssistantMessage extends model.Message {
|
|
|
42
42
|
* List of annotations generated by the model, including inline citations from web search results.
|
|
43
43
|
*/
|
|
44
44
|
"annotations"?: Array<model.Annotation>;
|
|
45
|
+
/**
|
|
46
|
+
* Internal reasoning trace generated during response computation.
|
|
47
|
+
*/
|
|
48
|
+
"reasoningContent"?: string;
|
|
45
49
|
"role": string;
|
|
46
50
|
}
|
|
47
51
|
export declare namespace AssistantMessage {
|
|
@@ -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,
|
|
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) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assistant-message.js","sourceRoot":"","sources":["../../../../../lib/generativeaiinference/lib/model/assistant-message.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"assistant-message.js","sourceRoot":"","sources":["../../../../../lib/generativeaiinference/lib/model/assistant-message.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmClC,IAAiB,gBAAgB,CAwChC;AAxCD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB,EAAE,eAAyB;QACzE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAsB,CAAC,GAC7E;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACzC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACzB,OAAO,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC3C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,2BAAU,aAkBzB,CAAA;IACY,qBAAI,GAAG,WAAW,CAAC;IAChC,SAAgB,sBAAsB,CAAC,GAAqB,EAAE,eAAyB;QACrF,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAAsB,CAAC,GACzF;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACrD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACzB,OAAO,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACvD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,uCAAsB,yBAkBrC,CAAA;AACH,CAAC,EAxCgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAwChC"}
|
|
@@ -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,
|
|
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,
|
|
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) {
|
package/lib/model/audio-url.d.ts
CHANGED
|
@@ -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,
|
|
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
|
/**
|
package/lib/model/audio-url.js
CHANGED
|
@@ -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,
|
|
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,
|
|
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,
|
|
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) {
|
|
@@ -47,6 +47,8 @@ var BaseChatRequest;
|
|
|
47
47
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
48
48
|
if (obj && "apiFormat" in obj && obj.apiFormat) {
|
|
49
49
|
switch (obj.apiFormat) {
|
|
50
|
+
case "COHEREV2":
|
|
51
|
+
return model.CohereChatRequestV2.getJsonObj(jsonObj, true);
|
|
50
52
|
case "GENERIC":
|
|
51
53
|
return model.GenericChatRequest.getJsonObj(jsonObj, true);
|
|
52
54
|
case "COHERE":
|
|
@@ -63,6 +65,8 @@ var BaseChatRequest;
|
|
|
63
65
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
64
66
|
if (obj && "apiFormat" in obj && obj.apiFormat) {
|
|
65
67
|
switch (obj.apiFormat) {
|
|
68
|
+
case "COHEREV2":
|
|
69
|
+
return model.CohereChatRequestV2.getDeserializedJsonObj(jsonObj, true);
|
|
66
70
|
case "GENERIC":
|
|
67
71
|
return model.GenericChatRequest.getDeserializedJsonObj(jsonObj, true);
|
|
68
72
|
case "COHERE":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-chat-request.js","sourceRoot":"","sources":["../../../../../lib/generativeaiinference/lib/model/base-chat-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,eAAe,
|
|
1
|
+
{"version":3,"file":"base-chat-request.js","sourceRoot":"","sources":["../../../../../lib/generativeaiinference/lib/model/base-chat-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,eAAe,CAqD/B;AArDD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,WAAW,IAAI,GAAG,IAAI,GAAG,CAAC,SAAS,EAAE;YAC9C,QAAQ,GAAG,CAAC,SAAS,EAAE;gBACrB,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CACL,OAAQ,EAC5C,IAAI,CACL,CAAC;gBACJ,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,kBAAkB,CAAC,UAAU,CACL,OAAQ,EAC3C,IAAI,CACL,CAAC;gBACJ,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,iBAAiB,CAAC,UAAU,CACL,OAAQ,EAC1C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;aACxF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,0BAAU,aAyBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,WAAW,IAAI,GAAG,IAAI,GAAG,CAAC,SAAS,EAAE;YAC9C,QAAQ,GAAG,CAAC,SAAS,EAAE;gBACrB,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CACjB,OAAQ,EAC5C,IAAI,CACL,CAAC;gBACJ,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CACjB,OAAQ,EAC3C,IAAI,CACL,CAAC;gBACJ,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CACjB,OAAQ,EAC1C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;aACxF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,sCAAsB,yBAyBrC,CAAA;AACH,CAAC,EArDgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAqD/B"}
|
|
@@ -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,
|
|
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,
|
|
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) {
|
|
@@ -49,6 +49,8 @@ var BaseChatResponse;
|
|
|
49
49
|
switch (obj.apiFormat) {
|
|
50
50
|
case "GENERIC":
|
|
51
51
|
return model.GenericChatResponse.getJsonObj(jsonObj, true);
|
|
52
|
+
case "COHEREV2":
|
|
53
|
+
return model.CohereChatResponseV2.getJsonObj(jsonObj, true);
|
|
52
54
|
case "COHERE":
|
|
53
55
|
return model.CohereChatResponse.getJsonObj(jsonObj, true);
|
|
54
56
|
default:
|
|
@@ -65,6 +67,8 @@ var BaseChatResponse;
|
|
|
65
67
|
switch (obj.apiFormat) {
|
|
66
68
|
case "GENERIC":
|
|
67
69
|
return model.GenericChatResponse.getDeserializedJsonObj(jsonObj, true);
|
|
70
|
+
case "COHEREV2":
|
|
71
|
+
return model.CohereChatResponseV2.getDeserializedJsonObj(jsonObj, true);
|
|
68
72
|
case "COHERE":
|
|
69
73
|
return model.CohereChatResponse.getDeserializedJsonObj(jsonObj, true);
|
|
70
74
|
default:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-chat-response.js","sourceRoot":"","sources":["../../../../../lib/generativeaiinference/lib/model/base-chat-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"base-chat-response.js","sourceRoot":"","sources":["../../../../../lib/generativeaiinference/lib/model/base-chat-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,gBAAgB,CAqDhC;AArDD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,WAAW,IAAI,GAAG,IAAI,GAAG,CAAC,SAAS,EAAE;YAC9C,QAAQ,GAAG,CAAC,SAAS,EAAE;gBACrB,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CACL,OAAQ,EAC5C,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,oBAAoB,CAAC,UAAU,CACL,OAAQ,EAC7C,IAAI,CACL,CAAC;gBACJ,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,kBAAkB,CAAC,UAAU,CACL,OAAQ,EAC3C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;aACxF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,2BAAU,aAyBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,WAAW,IAAI,GAAG,IAAI,GAAG,CAAC,SAAS,EAAE;YAC9C,QAAQ,GAAG,CAAC,SAAS,EAAE;gBACrB,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CACjB,OAAQ,EAC5C,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CACjB,OAAQ,EAC7C,IAAI,CACL,CAAC;gBACJ,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CACjB,OAAQ,EAC3C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;aACxF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,uCAAsB,yBAyBrC,CAAA;AACH,CAAC,EArDgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAqDhC"}
|
|
@@ -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,
|
|
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,
|
|
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,
|
|
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";
|
package/lib/model/chat-choice.js
CHANGED
|
@@ -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,
|
|
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,
|
|
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,
|
|
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) {
|
|
@@ -51,6 +51,8 @@ var ChatContent;
|
|
|
51
51
|
return model.VideoContent.getJsonObj(jsonObj, true);
|
|
52
52
|
case "IMAGE":
|
|
53
53
|
return model.ImageContent.getJsonObj(jsonObj, true);
|
|
54
|
+
case "DOCUMENT":
|
|
55
|
+
return model.DocumentContent.getJsonObj(jsonObj, true);
|
|
54
56
|
case "AUDIO":
|
|
55
57
|
return model.AudioContent.getJsonObj(jsonObj, true);
|
|
56
58
|
case "TEXT":
|
|
@@ -71,6 +73,8 @@ var ChatContent;
|
|
|
71
73
|
return model.VideoContent.getDeserializedJsonObj(jsonObj, true);
|
|
72
74
|
case "IMAGE":
|
|
73
75
|
return model.ImageContent.getDeserializedJsonObj(jsonObj, true);
|
|
76
|
+
case "DOCUMENT":
|
|
77
|
+
return model.DocumentContent.getDeserializedJsonObj(jsonObj, true);
|
|
74
78
|
case "AUDIO":
|
|
75
79
|
return model.AudioContent.getDeserializedJsonObj(jsonObj, true);
|
|
76
80
|
case "TEXT":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-content.js","sourceRoot":"","sources":["../../../../../lib/generativeaiinference/lib/model/chat-content.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,WAAW,
|
|
1
|
+
{"version":3,"file":"chat-content.js","sourceRoot":"","sources":["../../../../../lib/generativeaiinference/lib/model/chat-content.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,WAAW,CA0D3B;AA1DD,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB;QACzC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAA8B,OAAQ,EAAE,IAAI,CAAC,CAAC;gBACpF,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAA8B,OAAQ,EAAE,IAAI,CAAC,CAAC;gBACpF,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,eAAe,CAAC,UAAU,CAAiC,OAAQ,EAAE,IAAI,CAAC,CAAC;gBAC1F,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAA8B,OAAQ,EAAE,IAAI,CAAC,CAAC;gBACpF,KAAK,MAAM;oBACT,OAAO,KAAK,CAAC,WAAW,CAAC,UAAU,CAA6B,OAAQ,EAAE,IAAI,CAAC,CAAC;gBAClF;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,sBAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CACjB,OAAQ,EACrC,IAAI,CACL,CAAC;gBACJ,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CACjB,OAAQ,EACrC,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,eAAe,CAAC,sBAAsB,CACjB,OAAQ,EACxC,IAAI,CACL,CAAC;gBACJ,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CACjB,OAAQ,EACrC,IAAI,CACL,CAAC;gBACJ,KAAK,MAAM;oBACT,OAAO,KAAK,CAAC,WAAW,CAAC,sBAAsB,CACjB,OAAQ,EACpC,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAnCe,kCAAsB,yBAmCrC,CAAA;AACH,CAAC,EA1DgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QA0D3B"}
|
|
@@ -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,
|
|
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";
|
|
@@ -27,7 +27,7 @@ export interface ChatDetails {
|
|
|
27
27
|
*/
|
|
28
28
|
"compartmentId": string;
|
|
29
29
|
"servingMode": model.DedicatedServingMode | model.OnDemandServingMode;
|
|
30
|
-
"chatRequest": model.GenericChatRequest | model.CohereChatRequest;
|
|
30
|
+
"chatRequest": model.CohereChatRequestV2 | model.GenericChatRequest | model.CohereChatRequest;
|
|
31
31
|
}
|
|
32
32
|
export declare namespace ChatDetails {
|
|
33
33
|
function getJsonObj(obj: ChatDetails): object;
|
|
@@ -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,
|
|
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,
|
|
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";
|
|
@@ -30,7 +30,7 @@ export interface ChatResult {
|
|
|
30
30
|
* The version of the model.
|
|
31
31
|
*/
|
|
32
32
|
"modelVersion": string;
|
|
33
|
-
"chatResponse": model.GenericChatResponse | model.CohereChatResponse;
|
|
33
|
+
"chatResponse": model.GenericChatResponse | model.CohereChatResponseV2 | model.CohereChatResponse;
|
|
34
34
|
}
|
|
35
35
|
export declare namespace ChatResult {
|
|
36
36
|
function getJsonObj(obj: ChatResult): object;
|
package/lib/model/chat-result.js
CHANGED
|
@@ -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,
|
|
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) {
|
package/lib/model/choice.d.ts
CHANGED
|
@@ -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,
|
|
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";
|
package/lib/model/choice.js
CHANGED
|
@@ -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,
|
|
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,38 @@
|
|
|
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
|
+
* Options for controlling citation generation in RAG flows.
|
|
22
|
+
*/
|
|
23
|
+
export interface CitationOptionsV2 {
|
|
24
|
+
/**
|
|
25
|
+
* Dictates the approach taken to generating citations as part of the RAG flow. Defaults to \"accurate\". - \"ACCURATE\": More precise citation generation. - \"FAST\": Faster but may be less precise. - \"OFF\": Disables citation generation. Note: {@code command-r7b-12-2024} and {@code command-a-03-2025} only support \"FAST\" and \"OFF\".
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
"mode"?: CitationOptionsV2.Mode;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace CitationOptionsV2 {
|
|
31
|
+
enum Mode {
|
|
32
|
+
Fast = "FAST",
|
|
33
|
+
Accurate = "ACCURATE",
|
|
34
|
+
Off = "OFF"
|
|
35
|
+
}
|
|
36
|
+
function getJsonObj(obj: CitationOptionsV2): object;
|
|
37
|
+
function getDeserializedJsonObj(obj: CitationOptionsV2): object;
|
|
38
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.CitationOptionsV2 = void 0;
|
|
23
|
+
var CitationOptionsV2;
|
|
24
|
+
(function (CitationOptionsV2) {
|
|
25
|
+
let Mode;
|
|
26
|
+
(function (Mode) {
|
|
27
|
+
Mode["Fast"] = "FAST";
|
|
28
|
+
Mode["Accurate"] = "ACCURATE";
|
|
29
|
+
Mode["Off"] = "OFF";
|
|
30
|
+
})(Mode = CitationOptionsV2.Mode || (CitationOptionsV2.Mode = {}));
|
|
31
|
+
function getJsonObj(obj) {
|
|
32
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
33
|
+
return jsonObj;
|
|
34
|
+
}
|
|
35
|
+
CitationOptionsV2.getJsonObj = getJsonObj;
|
|
36
|
+
function getDeserializedJsonObj(obj) {
|
|
37
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
38
|
+
return jsonObj;
|
|
39
|
+
}
|
|
40
|
+
CitationOptionsV2.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
41
|
+
})(CitationOptionsV2 = exports.CitationOptionsV2 || (exports.CitationOptionsV2 = {}));
|
|
42
|
+
//# sourceMappingURL=citation-options-v2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"citation-options-v2.js","sourceRoot":"","sources":["../../../../../lib/generativeaiinference/lib/model/citation-options-v2.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AAgBH,IAAiB,iBAAiB,CAiBjC;AAjBD,WAAiB,iBAAiB;IAChC,IAAY,IAIX;IAJD,WAAY,IAAI;QACd,qBAAa,CAAA;QACb,6BAAqB,CAAA;QACrB,mBAAW,CAAA;IACb,CAAC,EAJW,IAAI,GAAJ,sBAAI,KAAJ,sBAAI,QAIf;IAED,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wCAAsB,yBAIrC,CAAA;AACH,CAAC,EAjBgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAiBjC"}
|
package/lib/model/citation.d.ts
CHANGED
|
@@ -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,
|
|
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
|
/**
|
package/lib/model/citation.js
CHANGED
|
@@ -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,
|
|
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 });
|