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.
staticdescription='Generate Answer for fetching the answer from Kb for a query'
8
8
9
9
staticflags: flags.Input<any>={
10
-
question: flags.string({description: 'Query to get a prediction for.',required: true}),
10
+
question: flags.string({description: 'Query to get a prediction for',required: true}),
11
11
top: flags.integer({description: 'Specifies the number of matching results'}),
12
-
test: flags.boolean({description: 'Query against the test index.',default: false}),
12
+
test: flags.boolean({description: 'Query against the test index',default: false}),
13
13
scorethreshold: flags.integer({description: 'Specifies the confidence score threshold for the returned answer.'}),
14
-
strictfilters: flags.string({description: 'Path to json file {"strictfilters": MetadataDTO[]}'}),
15
-
hostname: flags.string({description: 'Specifies the url for your private QnA service. Overrides the value present in config.'}),
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.'}),
14
+
strictfilters: flags.string({description: 'Path to json file with MetadataDTO[] e.g {"strictfilters": MetadataDTO[]}'}),
15
+
qnaId: flags.integer({description: 'Exact qnaId to fetch from the knowledgebase, this field takes priority over question'}),
16
+
context: flags.string({description: 'Path to Context object json file with previous QnA'}),
17
+
hostname: flags.string({description: 'Specifies the url for your private QnA service. Overrides the value present in config'}),
18
+
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'}),
17
19
kbId: flags.string({description: 'Specifies the active qnamaker knowledgebase id. Overrides the value present in the config'}),
0 commit comments