You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: services/generative_ai_agent_runtime/src/oci_cli_generative_ai_agent_runtime/generated/generativeaiagentruntime_cli.py
@click.command(cli_util.override('generative_ai_agent_runtime.knowledge_base_metadata_summary_group.command_name', 'knowledge-base-metadata-summary'), cls=CommandGroupWithAlias, help="""Represents metadata about a field including its name, type, supported operations, and possible values.""")
34
+
@cli_util.help_option_group
35
+
defknowledge_base_metadata_summary_group():
36
+
pass
37
+
38
+
33
39
@click.command(cli_util.override('generative_ai_agent_runtime.session_group.command_name', 'session'), cls=CommandGroupWithAlias, help="""A session represents an interactive conversation initiated by a user through an API to engage with an agent. It involves a series of exchanges where the user sends queries or prompts, and the agent responds with relevant information, actions, or assistance based on the user's input. The session persists for the duration of the interaction, maintaining context and continuity to provide coherent and meaningful responses throughout the conversation.""")
@agent_endpoint_group.command(name=cli_util.override('generative_ai_agent_runtime.chat.command_name', 'chat'), help=u"""Chat on endpoint with provided messages. \n[Command Reference](chat)""")
50
57
@cli_util.option('--agent-endpoint-id', required=True, help=u"""A unique ID for the endpoint.""")
51
-
@cli_util.option('--user-message', required=True, help=u"""The input user message content for the chat.""")
58
+
@cli_util.option('--user-message', help=u"""The input user message content for the chat.""")
52
59
@cli_util.option('--should-stream', type=click.BOOL, help=u"""Whether to stream the response.""")
53
60
@cli_util.option('--session-id', help=u"""Optional sessionId. If not provided, will chat without any prior context.""")
61
+
@cli_util.option('--tool-parameters', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A map where each key is a toolId and the value contains tool type and additional dynamic parameters."""+custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
62
+
@cli_util.option('--performed-actions', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A list of actions that have been performed based on prior required actions.
63
+
64
+
This option is a JSON list with items of type PerformedAction. For documentation on PerformedAction please see our API reference: https://docs.cloud.oracle.com/api/#/en/generativeaiagentruntime/20240531/datatypes/PerformedAction."""+custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
54
65
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
@knowledge_base_metadata_summary_group.command(name=cli_util.override('generative_ai_agent_runtime.retrieve_metadata.command_name', 'retrieve-metadata'), help=u"""Returns metadata of provided knowledgeBase. Return available metadata with information of field names, their types, supported operations, and possible values. \n[Command Reference](retrieveMetadata)""")
202
+
@cli_util.option('--knowledge-base-id', required=True, help=u"""A unique ID for the Knowledge Base.""")
203
+
@cli_util.option('--filters', type=custom_types.CLI_COMPLEX_TYPE, help=u"""List of metadata filters to narrow down the retrieved metadata
204
+
205
+
This option is a JSON list with items of type MetadataFilter. For documentation on MetadataFilter please see our API reference: https://docs.cloud.oracle.com/api/#/en/generativeaiagentruntime/20240531/datatypes/MetadataFilter."""+custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
206
+
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
@session_group.command(name=cli_util.override('generative_ai_agent_runtime.update_session.command_name', 'update'), help=u"""Update session metadata, including but not limited to description, tags. \n[Command Reference](updateSession)""")
183
237
@cli_util.option('--agent-endpoint-id', required=True, help=u"""A unique ID for the endpoint.""")
184
238
@cli_util.option('--session-id', required=True, help=u"""A unique ID for the session.""")
0 commit comments