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
{{ message }}
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
in: flags.string({description: 'The CreateKbDTO object to send in the body of the request.',required: true}),
21
20
name: flags.string({description: 'Name of the kb you want to create. This will override the name of KB that might be present in the CreateKb DTO'}),
22
-
wait: flags.boolean({description: 'Wait for the operation to complete.'}),
21
+
save: flags.boolean({description: 'Save the kbId in config.'}),
23
22
subscriptionKey: flags.string({description: 'Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource Management section for your Qna Maker cognitive service). Overrides the subscriptionkey value present in config'}),
constanswer=awaitcli.prompt(`Would you like to save ${kb.name}${kb.id} in your .qnamakerrc so that future commands will be with this KB? [yes] `,{default: 'yes'})
staticdescription='Get metadata about a knowledgebase'
9
9
10
10
staticflags: flags.Input<any>={
11
-
kbId: flags.string({description: 'Knowledgebase id to get metadata.',required: true}),
11
+
kbId: flags.string({description: 'Knowledgebase id to get metadata.'}),
12
12
subscriptionKey: flags.string({description: 'Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource Management section for your Qna Maker cognitive service). Overrides the subscriptionkey value present in config'}),
top: flags.integer({description: 'Query to get a prediction for.'}),
13
13
isTest: flags.boolean({description: 'Query against the test index.',default: false}),
14
14
scoreThreshold: flags.integer({description: 'Query to get a prediction for.'}),
15
-
subscriptionKey: flags.string({description: 'Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource Management section for your Qna Maker cognitive service). Overrides the subscriptionkey value present in config'}),
16
15
hostname: flags.string({description: 'Specifies the url for your private QnA service. Overrides the value present in config.'}),
17
16
endpointKey: flags.string({description: 'Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal user settings page). Overrides the value present in config.'}),
18
17
kbId: flags.string({description: 'Specifies the active qnamaker knowledgebase id. Overrides the value present in the config'}),
0 commit comments