oci-cli 3.72.0__py3-none-any.whl → 3.72.1__py3-none-any.whl
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.
- oci_cli/bin/iot.psm1 +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/action-param-values-summary/list-params-for-action-type.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-aws-encryption-key-details.txt +396 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-azure-encryption-key-details.txt +396 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-create-autonomous-container-database-details.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-create-autonomous-container-database-from-backup-details.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-external-hsm-encryption-details.txt +396 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-google-cloud-provider-encryption-key-details.txt +396 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database.txt +9 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/change-disaster-recovery-configuration.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/configure-saas-admin-user.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-adb-cross-region-data-guard-details.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-autonomous-database-create-cross-region-disaster-recovery-details.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-autonomous-database-gcp-key-details.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-autonomous-database-undelete-autonomous-database-details.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-cross-tenancy-disaster-recovery-details.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-from-backup-id.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-from-backup-timestamp.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-from-clone.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create-refreshable-clone.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/create.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/fail-over.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/import-transportable-tablespace.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/list-clones.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/list.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/manual-refresh.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/restart.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/restore.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/rotate-key.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/shrink.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/start.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/stop.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/switchover.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/update-autonomous-database-gcp-key-details.txt +9 -4
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/update.txt +9 -4
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-autonomous-vm-cluster/register-cloud-autonomous-vm-cluster-pkcs.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-autonomous-vm-cluster/unregister-cloud-autonomous-vm-cluster-pkcs.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-autonomous-vm-cluster.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/run-data-patch.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/update.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/db-connection-bundle/download.txt +114 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/db-connection-bundle/get.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/db-connection-bundle/list.txt +157 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/db-connection-bundle.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/create.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/update.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/maintenance-run/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/maintenance-run/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/maintenance-run/update.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/maintenance-run-history/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/scheduled-action/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log-entry/list-work-request-logs.txt → work-request-log/list-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log-entry.txt → work-request-log.txt} +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key/change-compartment.txt +114 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key/create.txt +181 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key/delete.txt +138 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key/get.txt +100 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key/renew.txt +184 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key/set-api-key-state.txt +181 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key/update.txt +183 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key-collection/list-api-keys.txt +150 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/api-key.txt +30 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/dedicated-ai-cluster/create.txt +6 -5
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/endpoint/create.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/endpoint/update.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/create.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/generative-ai-private-endpoint/update.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/model-collection/list-models.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result/chat-cohere-chat-request-v2.txt +350 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result/chat-generic-chat-request.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/embed-text-result/embed-text.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/rerank-text-result/rerank-text-dedicated-serving-mode.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/rerank-text-result/rerank-text-on-demand-serving-mode.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/rerank-text-result/rerank-text.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai.txt +20 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/digital-twin-instance/get-content.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/create.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/iot/domain-group/list.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/{work-request-log-entry → work-request-log}/list.txt +19 -1
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/{work-request-log-entry.txt → work-request-log.txt} +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +2 -2
- oci_cli/version.py +1 -1
- {oci_cli-3.72.0.dist-info → oci_cli-3.72.1.dist-info}/METADATA +2 -2
- {oci_cli-3.72.0.dist-info → oci_cli-3.72.1.dist-info}/RECORD +107 -84
- services/database/src/oci_cli_database/generated/database_cli.py +1446 -140
- services/generative_ai/src/oci_cli_generative_ai/generated/generativeai_cli.py +519 -12
- services/generative_ai_inference/src/oci_cli_generative_ai_inference/generated/generativeaiinference_cli.py +169 -7
- services/identity/src/oci_cli_identity/identity_cli_extended.py +2 -0
- services/iot/src/oci_cli_iot/generated/iot_cli.py +10 -3
- {oci_cli-3.72.0.dist-info → oci_cli-3.72.1.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.72.0.dist-info → oci_cli-3.72.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.72.0.dist-info → oci_cli-3.72.1.dist-info}/WHEEL +0 -0
- {oci_cli-3.72.0.dist-info → oci_cli-3.72.1.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.72.0.dist-info → oci_cli-3.72.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
"chat-cohere-chat-request-v2"
|
|
2
|
+
*****************************
|
|
3
|
+
|
|
4
|
+
* Description
|
|
5
|
+
|
|
6
|
+
* Usage
|
|
7
|
+
|
|
8
|
+
* Required Parameters
|
|
9
|
+
|
|
10
|
+
* Optional Parameters
|
|
11
|
+
|
|
12
|
+
* Global Parameters
|
|
13
|
+
|
|
14
|
+
* Example using required parameter
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Description
|
|
18
|
+
===========
|
|
19
|
+
|
|
20
|
+
Creates a response for the given conversation.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Usage
|
|
24
|
+
=====
|
|
25
|
+
|
|
26
|
+
oci generative-ai-inference chat-result chat-cohere-chat-request-v2 [OPTIONS]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Required Parameters
|
|
30
|
+
===================
|
|
31
|
+
|
|
32
|
+
--chat-request-messages [complex type]
|
|
33
|
+
|
|
34
|
+
A list of chat messages in chronological order, representing a
|
|
35
|
+
conversation between the user and the model. This is a complex type
|
|
36
|
+
whose value must be valid JSON. The value can be provided as a string
|
|
37
|
+
on the command line or passed in as a file using the
|
|
38
|
+
file://path/to/file syntax.
|
|
39
|
+
|
|
40
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
41
|
+
example of the JSON which must be provided. We recommend storing this
|
|
42
|
+
example in a file, modifying it as needed and then passing it back in
|
|
43
|
+
via the file:// syntax.
|
|
44
|
+
|
|
45
|
+
--compartment-id, -c [text]
|
|
46
|
+
|
|
47
|
+
The OCID of compartment in which to call the Generative AI service to
|
|
48
|
+
chat.
|
|
49
|
+
|
|
50
|
+
--serving-mode [complex type]
|
|
51
|
+
|
|
52
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
53
|
+
be provided as a string on the command line or passed in as a file
|
|
54
|
+
using the file://path/to/file syntax.
|
|
55
|
+
|
|
56
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
57
|
+
example of the JSON which must be provided. We recommend storing this
|
|
58
|
+
example in a file, modifying it as needed and then passing it back in
|
|
59
|
+
via the file:// syntax.
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
Optional Parameters
|
|
63
|
+
===================
|
|
64
|
+
|
|
65
|
+
--chat-request-citation-options [complex type]
|
|
66
|
+
|
|
67
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
68
|
+
be provided as a string on the command line or passed in as a file
|
|
69
|
+
using the file://path/to/file syntax.
|
|
70
|
+
|
|
71
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
72
|
+
example of the JSON which must be provided. We recommend storing this
|
|
73
|
+
example in a file, modifying it as needed and then passing it back in
|
|
74
|
+
via the file:// syntax.
|
|
75
|
+
|
|
76
|
+
--chat-request-documents [complex type]
|
|
77
|
+
|
|
78
|
+
A list of relevant documents that the model can refer to for
|
|
79
|
+
generating grounded responses to the user’s requests. Some example
|
|
80
|
+
keys that you can add to the dictionary are “text”, “author”, and
|
|
81
|
+
“date”. Keep the total word count of the strings in the dictionary to
|
|
82
|
+
300 words or less. This is a complex type whose value must be valid
|
|
83
|
+
JSON. The value can be provided as a string on the command line or
|
|
84
|
+
passed in as a file using the file://path/to/file syntax.
|
|
85
|
+
|
|
86
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
87
|
+
example of the JSON which must be provided. We recommend storing this
|
|
88
|
+
example in a file, modifying it as needed and then passing it back in
|
|
89
|
+
via the file:// syntax.
|
|
90
|
+
|
|
91
|
+
--chat-request-frequency-penalty [text]
|
|
92
|
+
|
|
93
|
+
To reduce repetitiveness of generated tokens, this number penalizes
|
|
94
|
+
new tokens based on their frequency in the generated text so far.
|
|
95
|
+
Greater numbers encourage the model to use new tokens, while lower
|
|
96
|
+
numbers encourage the model to repeat the tokens. Set to 0 to disable.
|
|
97
|
+
|
|
98
|
+
--chat-request-is-log-probs-enabled [boolean]
|
|
99
|
+
|
|
100
|
+
The log probabilities of the generated tokens will be included in the
|
|
101
|
+
response.
|
|
102
|
+
|
|
103
|
+
--chat-request-is-raw-prompting [boolean]
|
|
104
|
+
|
|
105
|
+
When enabled, the user’s *message* will be sent to the model without
|
|
106
|
+
any preprocessing.
|
|
107
|
+
|
|
108
|
+
--chat-request-is-search-queries-only [boolean]
|
|
109
|
+
|
|
110
|
+
When set to true, the response contains only a list of generated
|
|
111
|
+
search queries without the search results and the model will not
|
|
112
|
+
respond to the user’s message.
|
|
113
|
+
|
|
114
|
+
--chat-request-is-stream [boolean]
|
|
115
|
+
|
|
116
|
+
Whether to stream the partial progress of the model’s response. When
|
|
117
|
+
set to true, as tokens become available, they are sent as data-only
|
|
118
|
+
server-sent events.
|
|
119
|
+
|
|
120
|
+
--chat-request-is-strict-tools-enabled [boolean]
|
|
121
|
+
|
|
122
|
+
When set to true, tool calls in the Assistant message will be forced
|
|
123
|
+
to follow the tool definition strictly. Note:The first few requests
|
|
124
|
+
with a new set of tools will take longer to process.
|
|
125
|
+
|
|
126
|
+
--chat-request-max-tokens [integer]
|
|
127
|
+
|
|
128
|
+
The maximum number of output tokens that the model will generate for
|
|
129
|
+
the response. The token count of your prompt plus maxTokens must not
|
|
130
|
+
exceed the model’s context length. For on-demand inferencing, the
|
|
131
|
+
response length is capped at 4,000 tokens for each run.
|
|
132
|
+
|
|
133
|
+
--chat-request-presence-penalty [text]
|
|
134
|
+
|
|
135
|
+
To reduce repetitiveness of generated tokens, this number penalizes
|
|
136
|
+
new tokens based on whether they’ve appeared in the generated text so
|
|
137
|
+
far. Greater numbers encourage the model to use new tokens, while
|
|
138
|
+
lower numbers encourage the model to repeat the tokens.
|
|
139
|
+
|
|
140
|
+
Similar to frequency penalty, a penalty is applied to previously
|
|
141
|
+
present tokens, except that this penalty is applied equally to all
|
|
142
|
+
tokens that have already appeared, regardless of how many times
|
|
143
|
+
they’ve appeared. Set to 0 to disable.
|
|
144
|
+
|
|
145
|
+
--chat-request-priority [integer]
|
|
146
|
+
|
|
147
|
+
The priority of the request (lower means earlier handling; default 0
|
|
148
|
+
highest priority). Higher priority requests are handled first, and
|
|
149
|
+
dropped last when the system is under load.
|
|
150
|
+
|
|
151
|
+
--chat-request-response-format [complex type]
|
|
152
|
+
|
|
153
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
154
|
+
be provided as a string on the command line or passed in as a file
|
|
155
|
+
using the file://path/to/file syntax.
|
|
156
|
+
|
|
157
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
158
|
+
example of the JSON which must be provided. We recommend storing this
|
|
159
|
+
example in a file, modifying it as needed and then passing it back in
|
|
160
|
+
via the file:// syntax.
|
|
161
|
+
|
|
162
|
+
--chat-request-safety-mode [text]
|
|
163
|
+
|
|
164
|
+
Safety mode: Adds a safety instruction for the model to use when
|
|
165
|
+
generating responses. Contextual: (Default) Puts fewer constraints on
|
|
166
|
+
the output. It maintains core protections by aiming to reject harmful
|
|
167
|
+
or illegal suggestions, but it allows profanity and some toxic
|
|
168
|
+
content, sexually explicit and violent content, and content that
|
|
169
|
+
contains medical, financial, or legal information. Contextual mode is
|
|
170
|
+
suited for entertainment, creative, or academic use. Strict: Aims to
|
|
171
|
+
avoid sensitive topics, such as violent or sexual acts and profanity.
|
|
172
|
+
This mode aims to provide a safer experience by prohibiting responses
|
|
173
|
+
or recommendations that it finds inappropriate. Strict mode is suited
|
|
174
|
+
for corporate use, such as for corporate communications and customer
|
|
175
|
+
service. Off: No safety mode is applied. Note: This parameter is only
|
|
176
|
+
compatible with models cohere.command-r-08-2024,
|
|
177
|
+
cohere.command-r-plus-08-2024 and Cohere models released after these
|
|
178
|
+
models. See release dates.
|
|
179
|
+
|
|
180
|
+
Accepted values are:
|
|
181
|
+
|
|
182
|
+
CONTEXTUAL, OFF, STRICT
|
|
183
|
+
|
|
184
|
+
--chat-request-seed [integer]
|
|
185
|
+
|
|
186
|
+
If specified, the backend will make a best effort to sample tokens
|
|
187
|
+
deterministically, so that repeated requests with the same seed and
|
|
188
|
+
parameters yield the same result. However, determinism cannot be fully
|
|
189
|
+
guaranteed.
|
|
190
|
+
|
|
191
|
+
--chat-request-stop-sequences [complex type]
|
|
192
|
+
|
|
193
|
+
Stop the model generation when it reaches a stop sequence defined in
|
|
194
|
+
this parameter. This is a complex type whose value must be valid JSON.
|
|
195
|
+
The value can be provided as a string on the command line or passed in
|
|
196
|
+
as a file using the file://path/to/file syntax.
|
|
197
|
+
|
|
198
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
199
|
+
example of the JSON which must be provided. We recommend storing this
|
|
200
|
+
example in a file, modifying it as needed and then passing it back in
|
|
201
|
+
via the file:// syntax.
|
|
202
|
+
|
|
203
|
+
--chat-request-stream-options [complex type]
|
|
204
|
+
|
|
205
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
206
|
+
be provided as a string on the command line or passed in as a file
|
|
207
|
+
using the file://path/to/file syntax.
|
|
208
|
+
|
|
209
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
210
|
+
example of the JSON which must be provided. We recommend storing this
|
|
211
|
+
example in a file, modifying it as needed and then passing it back in
|
|
212
|
+
via the file:// syntax.
|
|
213
|
+
|
|
214
|
+
--chat-request-temperature [text]
|
|
215
|
+
|
|
216
|
+
A number that sets the randomness of the generated output. A lower
|
|
217
|
+
temperature means less random generations. Use lower numbers for tasks
|
|
218
|
+
such as question answering or summarizing. High temperatures can
|
|
219
|
+
generate hallucinations or factually incorrect information. Start with
|
|
220
|
+
temperatures lower than 1.0 and increase the temperature for more
|
|
221
|
+
creative outputs, as you regenerate the prompts to refine the outputs.
|
|
222
|
+
|
|
223
|
+
--chat-request-thinking [complex type]
|
|
224
|
+
|
|
225
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
226
|
+
be provided as a string on the command line or passed in as a file
|
|
227
|
+
using the file://path/to/file syntax.
|
|
228
|
+
|
|
229
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
230
|
+
example of the JSON which must be provided. We recommend storing this
|
|
231
|
+
example in a file, modifying it as needed and then passing it back in
|
|
232
|
+
via the file:// syntax.
|
|
233
|
+
|
|
234
|
+
--chat-request-tools [complex type]
|
|
235
|
+
|
|
236
|
+
A list of available tools (functions) that the model may suggest
|
|
237
|
+
invoking before producing a text response.
|
|
238
|
+
|
|
239
|
+
This option is a JSON list with items of type CohereToolV2. For
|
|
240
|
+
documentation on CohereToolV2 please see our API reference: https://d
|
|
241
|
+
ocs.cloud.oracle.com/api/#/en/generativeaiinference/20231130/datatype
|
|
242
|
+
s/CohereToolV2. This is a complex type whose value must be valid JSON.
|
|
243
|
+
The value can be provided as a string on the command line or passed in
|
|
244
|
+
as a file using the file://path/to/file syntax.
|
|
245
|
+
|
|
246
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
247
|
+
example of the JSON which must be provided. We recommend storing this
|
|
248
|
+
example in a file, modifying it as needed and then passing it back in
|
|
249
|
+
via the file:// syntax.
|
|
250
|
+
|
|
251
|
+
--chat-request-tools-choice [text]
|
|
252
|
+
|
|
253
|
+
Used to control whether or not the model will be forced to use a tool
|
|
254
|
+
when answering. When REQUIRED is specified, the model will be forced
|
|
255
|
+
to use at least one of the user-defined tools, and the tools parameter
|
|
256
|
+
must be passed in the request. When NONE is specified, the model will
|
|
257
|
+
be forced not to use one of the specified tools, and give a direct
|
|
258
|
+
response. If tool_choice isn’t specified, then the model is free to
|
|
259
|
+
choose whether to use the specified tools or not. Note:This parameter
|
|
260
|
+
is only compatible with models Command-r7b and newer.
|
|
261
|
+
|
|
262
|
+
Accepted values are:
|
|
263
|
+
|
|
264
|
+
NONE, REQUIRED
|
|
265
|
+
|
|
266
|
+
--chat-request-top-k [integer]
|
|
267
|
+
|
|
268
|
+
A sampling method in which the model chooses the next token randomly
|
|
269
|
+
from the top k most likely tokens. A higher value for k generates more
|
|
270
|
+
random output, which makes the output text sound more natural. The
|
|
271
|
+
default value for k is 0 which disables this method and considers all
|
|
272
|
+
tokens. To set a number for the likely tokens, choose an integer
|
|
273
|
+
between 1 and 500.
|
|
274
|
+
|
|
275
|
+
If also using top p, then the model considers only the top tokens
|
|
276
|
+
whose probabilities add up to p percent and ignores the rest of the k
|
|
277
|
+
tokens. For example, if k is 20 but only the probabilities of the top
|
|
278
|
+
10 add up to the value of p, then only the top 10 tokens are chosen.
|
|
279
|
+
|
|
280
|
+
--chat-request-top-p [text]
|
|
281
|
+
|
|
282
|
+
If set to a probability 0.0 < p < 1.0, it ensures that only the most
|
|
283
|
+
likely tokens, with total probability mass of p, are considered for
|
|
284
|
+
generation at each step.
|
|
285
|
+
|
|
286
|
+
To eliminate tokens with low likelihood, assign p a minimum percentage
|
|
287
|
+
for the next token’s likelihood. For example, when p is set to 0.75,
|
|
288
|
+
the model eliminates the bottom 25 percent for the next token. Set to
|
|
289
|
+
1.0 to consider all tokens and set to 0 to disable. If both k and p
|
|
290
|
+
are enabled, p acts after k.
|
|
291
|
+
|
|
292
|
+
--from-json [text]
|
|
293
|
+
|
|
294
|
+
Provide input to this command as a JSON document from a file using the
|
|
295
|
+
file://path-to/file syntax.
|
|
296
|
+
|
|
297
|
+
The "--generate-full-command-json-input" option can be used to
|
|
298
|
+
generate a sample json file to be used with this command option. The
|
|
299
|
+
key names are pre-populated and match the command option names
|
|
300
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
301
|
+
while the values of the keys need to be populated by the user before
|
|
302
|
+
using the sample file as an input to this command. For any command
|
|
303
|
+
option that accepts multiple values, the value of the key can be a
|
|
304
|
+
JSON array.
|
|
305
|
+
|
|
306
|
+
Options can still be provided on the command line. If an option exists
|
|
307
|
+
in both the JSON document and the command line then the command line
|
|
308
|
+
specified value will be used.
|
|
309
|
+
|
|
310
|
+
For examples on usage of this option, please see our “using CLI with
|
|
311
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
312
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
Global Parameters
|
|
316
|
+
=================
|
|
317
|
+
|
|
318
|
+
Use "oci --help" for help on global parameters.
|
|
319
|
+
|
|
320
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
321
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
322
|
+
defaults-file", "--enable-dual-stack", "--enable-propagation", "--
|
|
323
|
+
endpoint", "--generate-full-command-json-input", "--generate-param-
|
|
324
|
+
json-input", "--help", "--latest-version", "--max-retries", "--no-
|
|
325
|
+
retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
|
|
326
|
+
profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
|
|
327
|
+
realm-specific-endpoint", "--region", "--release-info", "--request-
|
|
328
|
+
id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
Example using required parameter
|
|
332
|
+
================================
|
|
333
|
+
|
|
334
|
+
Copy and paste the following example into a JSON file, replacing the
|
|
335
|
+
example parameters with your own.
|
|
336
|
+
|
|
337
|
+
oci generative-ai-inference chat-result chat-cohere-chat-request-v2 --generate-param-json-input chat-request-messages > chat-request-messages.json
|
|
338
|
+
oci generative-ai-inference chat-result chat-cohere-chat-request-v2 --generate-param-json-input serving-mode > serving-mode.json
|
|
339
|
+
|
|
340
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
341
|
+
command by typing “bash example.sh” and replacing the example
|
|
342
|
+
parameters with your own.
|
|
343
|
+
|
|
344
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
345
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
346
|
+
security policies before trying the examples.
|
|
347
|
+
|
|
348
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/generative-ai-inference/chat-result/chat-cohere-chat-request-v2.html#cmdoption-compartment-id
|
|
349
|
+
|
|
350
|
+
oci generative-ai-inference chat-result chat-cohere-chat-request-v2 --chat-request-messages file://chat-request-messages.json --compartment-id $compartment_id --serving-mode file://serving-mode.json
|
|
@@ -76,6 +76,16 @@ via the file:// syntax.
|
|
|
76
76
|
Optional Parameters
|
|
77
77
|
===================
|
|
78
78
|
|
|
79
|
+
--embedding-types [text]
|
|
80
|
+
|
|
81
|
+
Specifies the types of embeddings you want to get back. Supports list
|
|
82
|
+
of enums. Supported values :float, int8, uint8, binary, ubinary,
|
|
83
|
+
base64. If nothing is passed default will be considered as float.
|
|
84
|
+
|
|
85
|
+
Accepted values are:
|
|
86
|
+
|
|
87
|
+
base64, binary, float, int8, ubinary, uint8
|
|
88
|
+
|
|
79
89
|
--from-json [text]
|
|
80
90
|
|
|
81
91
|
Provide input to this command as a JSON document from a file using the
|
|
@@ -111,6 +121,12 @@ Accepted values are:
|
|
|
111
121
|
Whether or not to include the original inputs in the response. Results
|
|
112
122
|
are index-based.
|
|
113
123
|
|
|
124
|
+
--output-dimensions [integer]
|
|
125
|
+
|
|
126
|
+
The number of dimensions of the output embedding. This is only
|
|
127
|
+
available for embed-v4 and newer models. Possible values are 256, 512,
|
|
128
|
+
1024, and 1536.
|
|
129
|
+
|
|
114
130
|
--truncate [text]
|
|
115
131
|
|
|
116
132
|
For an input that’s longer than the maximum token length, specifies
|
|
@@ -91,6 +91,10 @@ Whether or not to return the documents in the response.
|
|
|
91
91
|
|
|
92
92
|
The maximum number of chunks to produce internally from a document.
|
|
93
93
|
|
|
94
|
+
--max-tokens-per-document [integer]
|
|
95
|
+
|
|
96
|
+
Used to truncate the long documents with the specified no of tokens.
|
|
97
|
+
|
|
94
98
|
--top-n [integer]
|
|
95
99
|
|
|
96
100
|
The number of most relevant documents or indices to return. Defaults
|
|
@@ -92,6 +92,10 @@ Whether or not to return the documents in the response.
|
|
|
92
92
|
|
|
93
93
|
The maximum number of chunks to produce internally from a document.
|
|
94
94
|
|
|
95
|
+
--max-tokens-per-document [integer]
|
|
96
|
+
|
|
97
|
+
Used to truncate the long documents with the specified no of tokens.
|
|
98
|
+
|
|
95
99
|
--top-n [integer]
|
|
96
100
|
|
|
97
101
|
The number of most relevant documents or indices to return. Defaults
|
|
@@ -98,6 +98,10 @@ Whether or not to return the documents in the response.
|
|
|
98
98
|
|
|
99
99
|
The maximum number of chunks to produce internally from a document.
|
|
100
100
|
|
|
101
|
+
--max-tokens-per-document [integer]
|
|
102
|
+
|
|
103
|
+
Used to truncate the long documents with the specified no of tokens.
|
|
104
|
+
|
|
101
105
|
--top-n [integer]
|
|
102
106
|
|
|
103
107
|
The number of most relevant documents or indices to return. Defaults
|
|
@@ -27,6 +27,26 @@ To learn more about the service, see the Generative AI documentation.
|
|
|
27
27
|
Available Commands
|
|
28
28
|
==================
|
|
29
29
|
|
|
30
|
+
* api-key
|
|
31
|
+
|
|
32
|
+
* change-compartment
|
|
33
|
+
|
|
34
|
+
* create
|
|
35
|
+
|
|
36
|
+
* delete
|
|
37
|
+
|
|
38
|
+
* get
|
|
39
|
+
|
|
40
|
+
* renew
|
|
41
|
+
|
|
42
|
+
* set-api-key-state
|
|
43
|
+
|
|
44
|
+
* update
|
|
45
|
+
|
|
46
|
+
* api-key-collection
|
|
47
|
+
|
|
48
|
+
* list-api-keys
|
|
49
|
+
|
|
30
50
|
* dedicated-ai-cluster
|
|
31
51
|
|
|
32
52
|
* change-compartment
|
|
@@ -17,8 +17,9 @@
|
|
|
17
17
|
Description
|
|
18
18
|
===========
|
|
19
19
|
|
|
20
|
-
Retrieves the
|
|
21
|
-
by the specified OCID.
|
|
20
|
+
Retrieves the content associated with a digital twin instance
|
|
21
|
+
identified by the specified OCID. The content can be retrieved only
|
|
22
|
+
when a model is associated with the digital twin instance.
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
Usage
|
|
@@ -110,6 +110,16 @@ nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
|
110
110
|
The maximum time to wait for the work request to reach the state
|
|
111
111
|
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
112
112
|
|
|
113
|
+
--type [text]
|
|
114
|
+
|
|
115
|
+
Type of the domain group. LIGHTWEIGHT uses fewer resources and has a
|
|
116
|
+
higher Recovery Time Objective (RTO), making it suitable for
|
|
117
|
+
development and testing. STANDARD is recommended for production.
|
|
118
|
+
|
|
119
|
+
Accepted values are:
|
|
120
|
+
|
|
121
|
+
LIGHTWEIGHT, STANDARD
|
|
122
|
+
|
|
113
123
|
--wait-for-state [text]
|
|
114
124
|
|
|
115
125
|
This operation asynchronously creates, modifies or deletes a resource
|
|
@@ -117,6 +117,14 @@ Accepted values are:
|
|
|
117
117
|
|
|
118
118
|
ASC, DESC
|
|
119
119
|
|
|
120
|
+
--type [text]
|
|
121
|
+
|
|
122
|
+
Filter resources by type. Valid values are LIGHTWEIGHT or STANDARD.
|
|
123
|
+
|
|
124
|
+
Accepted values are:
|
|
125
|
+
|
|
126
|
+
LIGHTWEIGHT, STANDARD
|
|
127
|
+
|
|
120
128
|
|
|
121
129
|
Global Parameters
|
|
122
130
|
=================
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"list"
|
|
2
|
-
|
|
1
|
+
"list-errors"
|
|
2
|
+
*************
|
|
3
3
|
|
|
4
4
|
* Description
|
|
5
5
|
|
|
@@ -23,7 +23,7 @@ Return a (paginated) list of errors for a given work request.
|
|
|
23
23
|
Usage
|
|
24
24
|
=====
|
|
25
25
|
|
|
26
|
-
oci organizations work-request-error list [OPTIONS]
|
|
26
|
+
oci organizations work-request-error list-errors [OPTIONS]
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
Required Parameters
|
|
@@ -114,6 +114,6 @@ Please note this sample will only work in the POSIX-compliant bash-
|
|
|
114
114
|
like shell. You need to set up the OCI configuration and appropriate
|
|
115
115
|
security policies before trying the examples.
|
|
116
116
|
|
|
117
|
-
export work_request_id=<substitute-value-of-work_request_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/organizations/work-request-error/list.html#cmdoption-work-request-id
|
|
117
|
+
export work_request_id=<substitute-value-of-work_request_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/organizations/work-request-error/list-errors.html#cmdoption-work-request-id
|
|
118
118
|
|
|
119
|
-
oci organizations work-request-error list --work-request-id $work_request_id
|
|
119
|
+
oci organizations work-request-error list-errors --work-request-id $work_request_id
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
* Global Parameters
|
|
13
13
|
|
|
14
|
+
* Example using required parameter
|
|
15
|
+
|
|
14
16
|
|
|
15
17
|
Description
|
|
16
18
|
===========
|
|
@@ -21,7 +23,7 @@ Return a (paginated) list of logs for a given work request.
|
|
|
21
23
|
Usage
|
|
22
24
|
=====
|
|
23
25
|
|
|
24
|
-
oci organizations work-request-log
|
|
26
|
+
oci organizations work-request-log list [OPTIONS]
|
|
25
27
|
|
|
26
28
|
|
|
27
29
|
Required Parameters
|
|
@@ -99,3 +101,19 @@ retry", "--opc-client-request-id", "--opc-request-id", "--output", "--
|
|
|
99
101
|
profile", "--proxy", "--query", "--raw-output", "--read-timeout", "--
|
|
100
102
|
realm-specific-endpoint", "--region", "--release-info", "--request-
|
|
101
103
|
id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
Example using required parameter
|
|
107
|
+
================================
|
|
108
|
+
|
|
109
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
110
|
+
command by typing “bash example.sh” and replacing the example
|
|
111
|
+
parameters with your own.
|
|
112
|
+
|
|
113
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
114
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
115
|
+
security policies before trying the examples.
|
|
116
|
+
|
|
117
|
+
export work_request_id=<substitute-value-of-work_request_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/organizations/work-request-log/list.html#cmdoption-work-request-id
|
|
118
|
+
|
|
119
|
+
oci organizations work-request-log list --work-request-id $work_request_id
|
oci_cli/version.py
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
3
3
|
# 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.
|
|
4
4
|
|
|
5
|
-
__version__ = '3.72.
|
|
5
|
+
__version__ = '3.72.1'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: oci-cli
|
|
3
|
-
Version: 3.72.
|
|
3
|
+
Version: 3.72.1
|
|
4
4
|
Summary: Oracle Cloud Infrastructure CLI
|
|
5
5
|
Home-page: https://docs.cloud.oracle.com/iaas/Content/API/Concepts/cliconcepts.htm
|
|
6
6
|
Author: Oracle
|
|
@@ -23,7 +23,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
25
|
Requires-Python: >=3.6
|
|
26
|
-
Requires-Dist: oci (==2.165.
|
|
26
|
+
Requires-Dist: oci (==2.165.1)
|
|
27
27
|
Requires-Dist: arrow (>=1.0.0)
|
|
28
28
|
Requires-Dist: certifi (>=2025.1.31)
|
|
29
29
|
Requires-Dist: click (==8.0.4)
|